diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-07-02 11:27:19 -0400 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-07-02 11:27:19 -0400 |
commit | d978a7a421dfe2e7afede5e4b29a730f9005344d (patch) | |
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.
-rw-r--r-- | iccread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -801,7 +801,7 @@ qcms_profile* qcms_profile_from_file(FILE *file) 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); |