summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-03-30 08:48:23 -0400
committerPatrick Griffis <tingping@tingping.se>2016-03-30 08:48:23 -0400
commit58fb36ee34f1492717d4a5a9fd39defc44848289 (patch)
tree198d9ee0e2e2fb81710982bbfb6200b8a6ff72c5 /src/fe-gtk
parentf656569eb92ad7fe781d1db9e58112c633ded604 (diff)
Fix warning
Fixes #1533
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/sexy-spell-entry.c2
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;