Do binary writes instead.

This commit is contained in:
David Anderson
2009-03-01 01:18:09 -05:00
parent eb25650e26
commit f104438802
3 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ static void PumpUpdate(void *data)
else
{
smutils->BuildPath(Path_SM, path, sizeof(path), "gamedata/%s", part->file);
FILE *fp = fopen(path, "wt");
FILE *fp = fopen(path, "wb");
if (fp == NULL)
{
AddUpdateError("Could not open %s for writing", path);