diff src/gtkconv.c @ 4478:fa2d74e20a89

[gaim-migrate @ 4753] grp2 is already defined in the windows header file, so I renamed it. Also, we're now opening buddy icon files for writing with "wb" instead of "w". Thanks Herman. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 19:24:48 +0000
parents 62c1e5e656d0
children f2c1cc22251e
line wrap: on
line diff
--- a/src/gtkconv.c	Thu Jan 30 18:55:17 2003 +0000
+++ b/src/gtkconv.c	Thu Jan 30 19:24:48 2003 +0000
@@ -4508,7 +4508,7 @@
 			   "%s" G_DIR_SEPARATOR_S "gaimicon-%s.%d",
 			   g_get_tmp_dir(), gaim_conversation_get_name(conv), getpid());
 
-	if (!(file = fopen(filename, "w")))
+	if (!(file = fopen(filename, "wb")))
 		return;
 
 	fwrite(data, 1, len, file);