Skip to content
Snippets Groups Projects
Commit 671f02c6 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard
Browse files

Read and write binary files in binary mode on Windows.

parent d658fa46
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment