Color profile reading is broken on windows. b=492962 r=joe

The fix is to properly fopen() with "rb" instead of just "r", so that windows knows to treat it as a binary
This commit is contained in:
Jeff Muizelaar 2009-05-15 18:07:34 -04:00
parent 7ff9827f0c
commit e6dc27ba8c

View File

@ -776,7 +776,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);