summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc
blob: 38b134e245c566bde25ff2dc75b52635280ae972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-unix_ibus_mozc__engine.cc,v 1.1 2013/01/18 11:36:40 ryoon Exp $

* I am not sure.

--- unix/ibus/mozc_engine.cc.orig	2012-08-31 05:36:43.000000000 +0000
+++ unix/ibus/mozc_engine.cc
@@ -756,7 +756,7 @@ bool MozcEngine::ExecuteCallback(IBusEng
       //     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,