diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-04-06 22:51:07 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-04-06 22:51:46 +0100 |
commit | 68e0a115be3bcd28f10afc04710b5b7b26aae89d (patch) | |
tree | 9e6e0b766776440a7ca80d6885253dd3f4a48b33 /src/pwl.c | |
parent | 93faf7fe371b0a403d5cd4e745f90758fd546f6d (diff) | |
download | enchant-68e0a115be3bcd28f10afc04710b5b7b26aae89d.tar.gz |
Fix an fopen file mode for Windows
Windows doesn’t understand ab+, so use a+b
Diffstat (limited to 'src/pwl.c')
-rw-r--r-- | src/pwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ EnchantPWL* enchant_pwl_init_with_file(const char * file) g_return_val_if_fail (file != NULL, NULL); - fd = g_fopen(file, "ab+"); + fd = g_fopen(file, "a+b"); if(fd == NULL) { return NULL; |