pidgin/pidgin

Parents eac4ec7a2532
Children befb6523dc5c
Fix loading the text replacement plugin's dict file, which was broken by e6937e52930b. Fixes #16408
--- 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);
}