Tue, 28 Oct 2014 22:23:50 -0400
Fix loading the text replacement plugin's dict file, which was broken by e6937e52930b. Fixes #16408
| pidgin/plugins/spellchk.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/plugins/spellchk.c Mon Oct 27 13:30:15 2014 -0400 +++ b/pidgin/plugins/spellchk.c Tue Oct 28 22:23:50 2014 -0400 @@ -1781,7 +1781,7 @@ 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); }