19 lines
822 B
Diff
19 lines
822 B
Diff
Index: fcitx5-anthy-5.0.4/src/utils.h
|
|
===================================================================
|
|
--- fcitx5-anthy-5.0.4.orig/src/utils.h
|
|
+++ fcitx5-anthy-5.0.4/src/utils.h
|
|
@@ -28,11 +28,11 @@ bool key_is_keypad(const fcitx::Key &key
|
|
std::string keypad_to_string(const fcitx::KeyEvent &key);
|
|
void launch_program(std::string command);
|
|
|
|
-bool surrounding_get_safe_delta(uint from, uint to, int32_t *delta);
|
|
+bool surrounding_get_safe_delta(unsigned from, unsigned to, int32_t *delta);
|
|
|
|
bool surrounding_get_anchor_pos_from_selection(
|
|
const std::string &surrounding_text, const std::string &selected_text,
|
|
- uint cursor_pos, uint *anchor_pos);
|
|
+ unsigned cursor_pos, unsigned *anchor_pos);
|
|
|
|
inline char get_ascii_code(const fcitx::Key &key) {
|
|
auto chr = fcitx::Key::keySymToUnicode(key.sym());
|