Fix a typo
authorPeng Huang <shawn.p.huang@gmail.com>
Wed, 7 Oct 2009 13:49:14 +0000 (21:49 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Wed, 7 Oct 2009 13:49:14 +0000 (21:49 +0800)
src/PinyinEngine.cc

index 556d651..adf5a07 100644 (file)
@@ -871,7 +871,7 @@ PinyinEngine::updateLookupTable (void)
         return;
     }
 
-    if (G_LIKELY (m_phrase_editor.modeSimp () || !Config::tradCandidate)) {
+    if (G_LIKELY (m_phrase_editor.modeSimp () || !Config::tradCandidate ())) {
         for (guint i = 0; i < candidate_nr; i++) {
             StaticText text (m_phrase_editor.candidate (i));
             if (m_phrase_editor.candidateIsUserPhease (i))