diff options
author | Peng Wu <alexepico@gmail.com> | 2016-07-21 16:16:01 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-07-21 16:16:01 +0800 |
commit | b2819139121d302ea1c86eac1c5dbc22f1f70b22 (patch) | |
tree | 34f29d157c586f4048c7a838f18387bbe0c96a30 /src/PYLibPinyin.cc | |
parent | 4b4d5d200bf6ab4287ad1ab1c98a986abc11b19c (diff) | |
download | ibus-libpinyin-b2819139121d302ea1c86eac1c5dbc22f1f70b22.tar.gz ibus-libpinyin-b2819139121d302ea1c86eac1c5dbc22f1f70b22.tar.xz ibus-libpinyin-b2819139121d302ea1c86eac1c5dbc22f1f70b22.zip |
use g_assert instead of assert
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. */ |