summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-11-12 15:07:11 +0800
committerPeng Wu <alexepico@gmail.com>2015-11-12 15:07:11 +0800
commitc8f487016eee4ffa6951c59efaff2316ebf7ec20 (patch)
tree4990d9c250064352cd544aa5c4018335ef27150c
parent97abb6046bc5ed86902ad7582e62ac0f224fa93f (diff)
downloadibus-libzhuyin-c8f487016eee4ffa6951c59efaff2316ebf7ec20.tar.gz
ibus-libzhuyin-c8f487016eee4ffa6951c59efaff2316ebf7ec20.tar.xz
ibus-libzhuyin-c8f487016eee4ffa6951c59efaff2316ebf7ec20.zip
fixes probe_section_start function
-rw-r--r--src/ZYEnhancedText.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ZYEnhancedText.cc b/src/ZYEnhancedText.cc
index c743b7a..c9cb6fb 100644
--- a/src/ZYEnhancedText.cc
+++ b/src/ZYEnhancedText.cc
@@ -281,6 +281,7 @@ probe_section_start(const String & enhanced_text,
String type, lookup, choice;
get_symbol_section (enhanced_text, start_pos, end_pos,
type, lookup, choice);
+ start_pos = end_pos;
--cursor;
}
}