- fixed text mode bug in windows file provider

pull/6/head
Michael Zillgith 10 years ago
parent b1eda97ab4
commit 68573e550f

@ -74,9 +74,9 @@ FileSystem_openFile(char* fileName, bool readWrite)
FileHandle newHandle = NULL; FileHandle newHandle = NULL;
if (readWrite) if (readWrite)
newHandle = (FileHandle) fopen(fullPath, "w"); newHandle = (FileHandle) fopen(fullPath, "wb");
else else
newHandle = (FileHandle) fopen(fullPath, "r"); newHandle = (FileHandle) fopen(fullPath, "rb");
return newHandle; return newHandle;
} }

Loading…
Cancel
Save