diff options
author | Peng Wu <alexepico@gmail.com> | 2018-06-14 15:08:03 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-06-14 15:08:03 +0800 |
commit | e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2 (patch) | |
tree | ec7ae22e1fef519e27aca7ee39bbdb842d6a163d /lua | |
parent | 44abb976b536a604916f0cc1738c49c4babf129d (diff) | |
download | ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.tar.gz ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.tar.xz ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.zip |
use lua converter
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lua-plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lua-plugin.c b/lua/lua-plugin.c index 88a5309..2a193f3 100644 --- a/lua/lua-plugin.c +++ b/lua/lua-plugin.c @@ -339,6 +339,7 @@ gboolean ibus_engine_plugin_set_converter(IBusEnginePlugin * plugin, const char lua_converter_t * converter = &g_array_index (lua_converters, lua_converter_t, i); if (g_strcmp0 (converter->lua_function_name, lua_function_name) == 0) { + g_free(priv->use_converter); priv->use_converter = g_strdup(lua_function_name); return TRUE; } |