Commit 671f02c6 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Read and write binary files in binary mode on Windows.

parent d658fa46
......@@ -164,7 +164,7 @@ int process_resources(const char* input_file_name, const char* specific_file_nam
if (inserting) fputc(c, ftmp);
if (c == EOF) break;
if (!(fres = fopen(res_file_name, inserting ? "r" : "w"))) break;
if (!(fres = fopen(res_file_name, inserting ? "rb" : "wb"))) break;
if (inserting)
{
if (!insert_hexdump(ftmp, fres)) break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment