aboutsummaryrefslogtreecommitdiff
path: root/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc')
-rw-r--r--japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc b/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc
index 3851a2841320..2291dbf19c23 100644
--- a/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc
+++ b/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc
@@ -1,11 +1,11 @@
---- unix/ibus/mozc_engine.cc.orig 2013-04-21 03:48:44.433270458 +0900
-+++ unix/ibus/mozc_engine.cc 2013-04-21 04:12:50.609270610 +0900
-@@ -758,7 +758,7 @@
- // on size_t, not uint32.
- string selection_text;
- const uint32 selection_start = min(cursor_pos, anchor_pos);
-- const uint32 selection_length = abs(relative_selected_length);
-+ const uint32 selection_length = ::abs(relative_selected_length);
- Util::SubString(surrounding_text,
- selection_start,
- selection_length,
+--- unix/ibus/mozc_engine.cc.orig 2013-07-17 11:37:50.000000000 +0900
++++ unix/ibus/mozc_engine.cc 2013-07-19 22:37:55.000000000 +0900
+@@ -265,7 +265,7 @@
+ }
+
+ const uint32 selection_start = min(cursor_pos, anchor_pos);
+- const uint32 selection_length = abs(info->relative_selected_length);
++ const uint32 selection_length = ::abs(info->relative_selected_length);
+ info->preceding_text = surrounding_text.substr(0, selection_start);
+ Util::SubString(surrounding_text,
+ selection_start,