summaryrefslogtreecommitdiff
path: root/src/enchant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enchant.c')
-rw-r--r--src/enchant.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/enchant.c b/src/enchant.c
index e57a036..bbcdc65 100644
--- a/src/enchant.c
+++ b/src/enchant.c
@@ -34,6 +34,7 @@
#include <glib.h>
#include <gmodule.h>
+#include <glib/gstdio.h>
#include <locale.h>
#include "enchant.h"
@@ -791,13 +792,13 @@ enchant_dict_suggest (EnchantDict * dict, const char *const word,
/* Copy over suggestions from dict, if good */
n_suggs = enchant_dict_merge_suggestions(dict,
- suggs, 0,
- dict_suggs, n_dict_suggs);
+ suggs, 0,
+ dict_suggs, n_dict_suggs);
/* Copy over suggestions from pwl, if good and no dupes */
n_suggs = enchant_dict_merge_suggestions(dict,
- suggs, n_suggs,
- pwl_suggs, n_pwl_suggs);
+ suggs, n_suggs,
+ pwl_suggs, n_pwl_suggs);
}
else
{