From 58fb36ee34f1492717d4a5a9fd39defc44848289 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Wed, 30 Mar 2016 08:48:23 -0400 Subject: Fix warning Fixes #1533 --- src/fe-gtk/sexy-spell-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/sexy-spell-entry.c') 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; -- cgit 1.4.1