diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-03-30 08:48:23 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-03-30 08:48:23 -0400 |
commit | 58fb36ee34f1492717d4a5a9fd39defc44848289 (patch) | |
tree | 198d9ee0e2e2fb81710982bbfb6200b8a6ff72c5 | |
parent | f656569eb92ad7fe781d1db9e58112c633ded604 (diff) |
Fix warning
Fixes #1533
-rw-r--r-- | src/fe-gtk/sexy-spell-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index 45bc132c..566abcf3 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -1410,7 +1410,7 @@ sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GEr g_return_val_if_fail(entry != NULL, FALSE); g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), FALSE); - g_return_val_if_fail(lang != NULL && lang != '\0', FALSE); + g_return_val_if_fail(lang != NULL && *lang != '\0', FALSE); if (!have_enchant) return FALSE; |