fixes ChewingParser2::in_chewing_scheme
authorPeng Wu <alexepico@gmail.com>
Wed, 4 Jan 2012 08:54:04 +0000 (16:54 +0800)
committerPeng Wu <alexepico@gmail.com>
Wed, 4 Jan 2012 08:54:04 +0000 (16:54 +0800)
src/storage/pinyin_parser2.cpp

index 45138dadb88e55ff08488595a7ab061bfa996575..932a8eba37e5b08b0cd925d2b6496261c09fea60 100644 (file)
@@ -822,6 +822,7 @@ bool ChewingParser2::in_chewing_scheme(const char key, const char ** symbol)
     if (search_chewing_tones(m_tone_table, key, &tone)) {
         if (symbol)
             *symbol = chewing_tone_table[tone];
+        return true;
     }
 
     return false;