Fix warning

Fixes #1533
This commit is contained in:
Patrick Griffis 2016-03-30 08:48:23 -04:00
parent f656569eb9
commit 58fb36ee34
1 changed files with 1 additions and 1 deletions

View File

@ -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(entry != NULL, FALSE);
g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), 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) if (!have_enchant)
return FALSE; return FALSE;