kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=675be6a5274a4b781f8486062fed33787cea6e1c

commit 675be6a5274a4b781f8486062fed33787cea6e1c
Author: Kim Woelders <k...@woelders.dk>
Date:   Thu Oct 10 18:32:02 2019 +0200

    ICO loader: Add binary flag to fopen()
    
    As done in all other loaders.
---
 src/modules/loaders/loader_ico.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/loaders/loader_ico.c b/src/modules/loaders/loader_ico.c
index 1bc19c7..6a69778 100644
--- a/src/modules/loaders/loader_ico.c
+++ b/src/modules/loaders/loader_ico.c
@@ -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;
 

-- 


Reply via email to