aboutsummaryrefslogtreecommitdiff
path: root/japanese/mozc-server/files/patch-unix_ibus_mozc_engine.cc
blob: 3851a28413208ae26c06fe01b2a8e47356a0aa54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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,