forked from old/legacy-imlib2
ICO loader: Add binary flag to fopen()
As done in all other loaders.
This commit is contained in:
parent
7f24775df1
commit
675be6a527
|
@ -212,7 +212,7 @@ ico_read(char *filename)
|
|||
if (!ico)
|
||||
return NULL;
|
||||
|
||||
ico->fp = fopen(filename, "r");
|
||||
ico->fp = fopen(filename, "rb");
|
||||
if (!ico->fp)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue