summaryrefslogtreecommitdiff
path: root/src/ispell/lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ispell/lookup.cpp')
-rw-r--r--src/ispell/lookup.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ispell/lookup.cpp b/src/ispell/lookup.cpp
index 5a7e13b..6f9b17e 100644
--- a/src/ispell/lookup.cpp
+++ b/src/ispell/lookup.cpp
@@ -244,8 +244,7 @@
#include <string.h>
#include <ctype.h>
-#include <glib/gstdio.h>
-
+#include "enchant-provider.h"
#include "ispell_checker.h"
#include "msgs.h"
@@ -279,7 +278,7 @@ int ISpellChecker::linit (char *hashname)
int viazero;
register ichar_t * cp;
- if ((fpHash = g_fopen (hashname, "rb")) == NULL)
+ if ((fpHash = enchant_fopen (hashname, "rb")) == NULL)
{
return (-1);
}