Commit 8ad904c3 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

regedit: Allow binary files to be imported.

parent 0ba0f4cc
...@@ -159,7 +159,7 @@ static BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s) ...@@ -159,7 +159,7 @@ static BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
getAppName(), filename, GetLastError()); getAppName(), filename, GetLastError());
exit(1); exit(1);
} }
reg_file = fopen(realname, "r"); reg_file = fopen(realname, "rb");
if (reg_file == NULL) if (reg_file == NULL)
{ {
perror(""); perror("");
......
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