ICO loader: Add binary flag to fopen()

As done in all other loaders.
This commit is contained in:
Kim Woelders 2019-10-10 18:32:02 +02:00
parent 7f24775df1
commit 675be6a527
1 changed files with 1 additions and 1 deletions

View File

@ -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;