diff options
Diffstat (limited to 'src/PYLibPinyin.cc')
-rw-r--r-- | src/PYLibPinyin.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index 0739bea..179a454 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -21,7 +21,6 @@ #include "PYLibPinyin.h" -#include <assert.h> #include <string.h> #include <pinyin.h> #include "PYPConfig.h" @@ -316,7 +315,7 @@ LibPinyinBackEnd::rememberUserInput (pinyin_instance_t * instance) remember user input. */ gchar * sentence = NULL; pinyin_get_sentence (instance, &sentence); - assert (pinyin_remember_user_input (instance, sentence, -1)); + pinyin_remember_user_input (instance, sentence, -1); g_free (sentence); /* save later, will mark modified from pinyin/bopomofo editor. */ |