mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
7ff9827f0c
commit
e6dc27ba8c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user