diff options
author | Eric Albright <eric_albright@sil.org> | 2007-11-15 09:46:08 +0000 |
---|---|---|
committer | Eric Albright <eric_albright@sil.org> | 2007-11-15 09:46:08 +0000 |
commit | 0dab100b95871a4863dd00ff46a849e5465a3772 (patch) | |
tree | 90f48be7d1a543fd8610d2d79f5948ae573737ee /src/enchant.c | |
parent | d2aaca3f5f0d943fcdc2f63f2f96316d5a906d6b (diff) | |
download | enchant-0dab100b95871a4863dd00ff46a849e5465a3772.tar.gz |
use g_fopen instead of fopen (make sure using single c runtime glib and libenchant for windows build)
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22307 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
Diffstat (limited to 'src/enchant.c')
-rw-r--r-- | src/enchant.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/enchant.c b/src/enchant.c index 615da0a..c919c45 100644 --- a/src/enchant.c +++ b/src/enchant.c @@ -1021,7 +1021,7 @@ enchant_load_ordering_from_file (EnchantBroker * broker, const char * file) FILE * f; - f = fopen (file, "r"); + f = g_fopen (file, "r"); if (!f) return; @@ -1233,6 +1233,9 @@ enchant_broker_free (EnchantBroker * broker) * * PWL is a personal wordlist file, 1 entry per line * + * @pwl: A non-null pathname in the GLib file name encoding (UTF-8 on Windows) + * to the personal wordlist file + * * Returns: */ ENCHANT_MODULE_EXPORT (EnchantDict *) |