Index: icoload.c
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/winicon/icoload.c,v
retrieving revision 1.14
diff -u -r1.14 icoload.c
--- icoload.c	14 Feb 2006 10:23:54 -0000	1.14
+++ icoload.c	14 Aug 2006 14:20:51 -0000
@@ -130,7 +130,7 @@
 {
   memset (ico, 0, sizeof (MsIcon));
 
-  if (! (ico->fp = g_fopen (filename, "r")))
+  if (! (ico->fp = g_fopen (filename, "rb")))
     {
       g_message (_("Could not open '%s' for reading: %s"),
                  gimp_filename_to_utf8 (filename), g_strerror (errno));
