From 9dbb8e7a8ac2fc5b3ee9b99c235f525233e242e7 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 9 Aug 2016 11:08:36 +0800 Subject: fixes pinyin_remember_user_input function --- src/pinyin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pinyin.cpp b/src/pinyin.cpp index fd00940..6d8738c 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -2976,7 +2976,7 @@ static bool _remember_phrase_recur(pinyin_instance_t * instance, gfloat pinyin_poss = item.get_pronunciation_possibility(&key); if (pinyin_poss < FLT_EPSILON) - return false; + continue; /* push value */ g_array_append_val(cached_keys, key); -- cgit