libsexy: Add "HexChat" to session dictionary

This commit is contained in:
TingPing 2013-10-04 06:33:49 -04:00
parent fa955a0f1a
commit a29ccffcbe

View File

@ -1251,6 +1251,7 @@ sexy_spell_entry_activate_language_internal(SexySpellEntry *entry, const gchar *
return FALSE; return FALSE;
} }
enchant_dict_add_to_session (dict, "HexChat", strlen("HexChat"));
entry->priv->dict_list = g_slist_append(entry->priv->dict_list, (gpointer) dict); entry->priv->dict_list = g_slist_append(entry->priv->dict_list, (gpointer) dict);
g_hash_table_insert(entry->priv->dict_hash, get_lang_from_dict(dict), (gpointer) dict); g_hash_table_insert(entry->priv->dict_hash, get_lang_from_dict(dict), (gpointer) dict);