commit | d978a7a421dfe2e7afede5e4b29a730f9005344d | [log] [tgz] |
---|---|---|
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | Thu Jul 02 11:27:19 2009 -0400 |
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | Thu Jul 02 11:27:19 2009 -0400 |
tree | 43fdbb11da5afc3bf050283dcbabbbec643c8ac4 | |
parent | 1eb9d057b991005590448d36b12d70a881def1ad [diff] |
Open profiles in binary mode. This was already changed in the mozilla tree but I forgot to commit it here.
diff --git a/iccread.c b/iccread.c index f3886e0..942102a 100644 --- a/iccread.c +++ b/iccread.c
@@ -801,7 +801,7 @@ qcms_profile* qcms_profile_from_path(const char *path) { qcms_profile *profile = NULL; - FILE *file = fopen(path, "r"); + FILE *file = fopen(path, "rb"); if (file) { profile = qcms_profile_from_file(file); fclose(file);