diff options
Diffstat (limited to 'tests/test_pinyin.cpp')
-rw-r--r-- | tests/test_pinyin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index 920c324..eb868d3 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -37,9 +37,8 @@ int main(int argc, char * argv[]){ linebuf[strlen(linebuf) - 1] = '\0'; } - if ( strcmp ( linebuf, "quit" ) == 0) { + if ( strcmp ( linebuf, "quit" ) == 0) break; - } pinyin_parse_more_full_pinyins(instance, linebuf); pinyin_guess_sentence(instance); |