summaryrefslogtreecommitdiff
path: root/pidgin/plugins/spellchk.c
diff options
context:
space:
mode:
Diffstat (limited to 'pidgin/plugins/spellchk.c')
-rw-r--r--pidgin/plugins/spellchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/plugins/spellchk.c b/pidgin/plugins/spellchk.c
index 2e8b62422b..ae7e767a82 100644
--- a/pidgin/plugins/spellchk.c
+++ b/pidgin/plugins/spellchk.c
@@ -1781,7 +1781,7 @@ static void load_conf(void)
gboolean case_sensitive = FALSE;
buf = g_build_filename(purple_user_dir(), "dict", NULL);
- if (g_file_get_contents(buf, &ibuf, &size, NULL) && ibuf) {
+ if (!(g_file_get_contents(buf, &ibuf, &size, NULL) && ibuf)) {
ibuf = g_strdup(defaultconf);
size = strlen(defaultconf);
}