summaryrefslogtreecommitdiffstats
path: root/src/ZYZZhuyinEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZZhuyinEditor.cc')
-rw-r--r--src/ZYZZhuyinEditor.cc14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/ZYZZhuyinEditor.cc b/src/ZYZZhuyinEditor.cc
index 5892918..20671c8 100644
--- a/src/ZYZZhuyinEditor.cc
+++ b/src/ZYZZhuyinEditor.cc
@@ -20,8 +20,12 @@
*/
#include "ZYZZhuyinEditor.h"
+#include <assert.h>
#include "ZYConfig.h"
#include "ZYLibZhuyin.h"
+#include "ZYZhuyinProperties.h"
+#include "ZYTradSimpConverter.h"
+#include "ZYEnhancedText.h"
using namespace ZY;
@@ -133,7 +137,7 @@ ZhuyinEditor::updatePreeditText (void)
char sym = section[i];
gchar ** symbols = NULL;
/* append bopomofo symbol except for DaChen26. */
- assert (zhuyin_in_chewing_keyboard (m_instance, sym, symbols));
+ assert (zhuyin_in_chewing_keyboard (m_instance, sym, &symbols));
assert (NULL != symbols[0]);
m_preedit_text += symbols[0];
g_strfreev (symbols);
@@ -167,11 +171,3 @@ ZhuyinEditor::updatePreeditText (void)
Editor::updatePreeditText (preedit_text, cursor, TRUE);
return;
}
-
-void
-ZhuyinEditor::update (void)
-{
- updateLookupTable ();
- updatePreeditText ();
- updateAuxiliaryText ();
-}