From 3dbe905ec5ab3c14bb5abd7326fe0df565deb0a5 Mon Sep 17 00:00:00 2001 From: Daniel Atallah Date: Tue, 28 Oct 2014 22:23:50 -0400 Subject: Fix loading the text replacement plugin's dict file, which was broken by e6937e52930b. Fixes #16408 --- pidgin/plugins/spellchk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1