diff options
Diffstat (limited to 'inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc')
-rw-r--r-- | inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc b/inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc new file mode 100644 index 00000000000..38b134e245c --- /dev/null +++ b/inputmethod/ibus-mozc/patches/patch-unix_ibus_mozc__engine.cc @@ -0,0 +1,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, |