regedit: Allow binary files to be imported.
This commit is contained in:
parent
0ba0f4ccf8
commit
8ad904c398
|
@ -159,7 +159,7 @@ static BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
|
|||
getAppName(), filename, GetLastError());
|
||||
exit(1);
|
||||
}
|
||||
reg_file = fopen(realname, "r");
|
||||
reg_file = fopen(realname, "rb");
|
||||
if (reg_file == NULL)
|
||||
{
|
||||
perror("");
|
||||
|
|
Loading…
Reference in New Issue