diff --git a/scim-wnn/src/scim_wnn_imengine.cpp b/scim-wnn/src/scim_wnn_imengine.cpp index f70203b..f035f13 100644 --- a/scim-wnn/src/scim_wnn_imengine.cpp +++ b/scim-wnn/src/scim_wnn_imengine.cpp @@ -181,8 +181,8 @@ m_conversion = false; m_lookup = false; m_connected = false; - host = _scim_config->read(String(SCIM_CONFIG_WNN_SERVER),String("localhost")); - rc = _scim_config->read(String(SCIM_CONFIG_WNN_RC),String("/usr/lib/wnn7/ja_JP/wnnenvrc")); + host = _scim_config->read(String(SCIM_CONFIG_WNN_SERVER),String(SCIM_DEFAULT_WNN_SERVER)); + rc = _scim_config->read(String(SCIM_CONFIG_WNN_RC),String(SCIM_DEFAULT_WNN_RC)); alp = _scim_config->read(String(SCIM_CONFIG_WNN_ALP),SCIM_DEFAULT_WNN_ALP); m_iconv.set_encoding ("EUC-JP"); @@ -613,7 +613,7 @@ void WnnInstance::startConversion(WideString s) { if (!m_connected) { - m_connected = wnn.wnnConnect(String("test"),host,rc,0); + m_connected = wnn.wnnConnect(String("scim-wnn"),host,rc,0); } if (!m_connected) { update_aux_string(utf8_mbstowcs(String(_("could not connect to jserver."))));