summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Albright <eric_albright@sil.org>2007-12-20 14:34:06 +0000
committerEric Albright <eric_albright@sil.org>2007-12-20 14:34:06 +0000
commit2ab92e740131866a07fa0faf79741f88e99ce5ab (patch)
tree89c0d33f65ac28bbd210767d01104c845a1935e6
parent97f3d56e554c6d2ca1c4d6b3130558df3e8b83b8 (diff)
downloadenchant-2ab92e740131866a07fa0faf79741f88e99ce5ab.tar.gz
use g_fopen instead of fopen
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22379 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/ispell/lookup.cpp2
-rw-r--r--tests/enchant-ispell.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ispell/lookup.cpp b/src/ispell/lookup.cpp
index b5c90ce..bd79400 100644
--- a/src/ispell/lookup.cpp
+++ b/src/ispell/lookup.cpp
@@ -277,7 +277,7 @@ int ISpellChecker::linit (char *hashname)
int viazero;
register ichar_t * cp;
- if ((fpHash = fopen (hashname, "rb")) == NULL)
+ if ((fpHash = g_fopen (hashname, "rb")) == NULL)
{
return (-1);
}
diff --git a/tests/enchant-ispell.c b/tests/enchant-ispell.c
index db1e123..76af1b9 100644
--- a/tests/enchant-ispell.c
+++ b/tests/enchant-ispell.c
@@ -483,7 +483,7 @@ int main (int argc, char ** argv)
}
else {
if (file) {
- fp = fopen (file, "rb");
+ fp = g_fopen (file, "rb");
if (!fp) {
fprintf (stderr, "Error: Could not open the file \"%s\" for reading.\n", file);
exit (1);