changeset 71:76fc004cd327

windows requires "wb" instead of "w".
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 25 Jun 2008 11:53:21 +0900
parents 74524f379440
children af4f31bce461
files pidgin-twitter.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Mon Jun 23 17:06:04 2008 +0900
+++ b/pidgin-twitter.c	Wed Jun 25 11:53:21 2008 +0900
@@ -835,7 +835,7 @@
         path = g_build_filename(dirname, filename, NULL);
         g_free(filename); filename = NULL;
 
-        fp = fopen(path, "w");
+        fp = fopen(path, "wb");
         g_free(path); path = NULL;
 
         if(fp) {