summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2014-10-28 22:23:50 -0400
committerDaniel Atallah <datallah@pidgin.im>2014-10-28 22:23:50 -0400
commit3dbe905ec5ab3c14bb5abd7326fe0df565deb0a5 (patch)
treef4701e5c97d036287900c6b6d952172d29e190ce
parent80e872de6088b7d8cddbce5c0b107f2a03aeeab1 (diff)
downloadpidgin-3dbe905ec5ab3c14bb5abd7326fe0df565deb0a5.tar.gz
Fix loading the text replacement plugin's dict file, which was broken by e6937e52930b. Fixes #16408
-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);
}