diff options
author | Andreas Schwab <schwab@suse.de> | 2015-11-04 12:51:44 +0100 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2022-02-08 09:52:02 +0800 |
commit | e9f21b2005090751cc99eb05ec1fb226b2fb1fd1 (patch) | |
tree | 9b418e4981d7f27bca8e0c5f4479b7d9f86cbb2b | |
parent | d60f1fec76be9000e02956f30bf86237e4b83f47 (diff) | |
download | ibus-pinyin-e9f21b2005090751cc99eb05ec1fb226b2fb1fd1.tar.gz |
Fix -Wlogical-not-parentheses warning
-rw-r--r-- | src/PYExtEditor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc index 7b5d0e6..6e42d4c 100644 --- a/src/PYExtEditor.cc +++ b/src/PYExtEditor.cc @@ -494,7 +494,7 @@ ExtEditor::updateStateFromInput (void) return FALSE; } - if ( ! 'i' == m_text[0] ) { + if (m_text[0] != 'i') { g_warning ("i is expected in m_text string.\n"); return FALSE; } |