regedit: Allow binary files to be imported.

This commit is contained in:
Bruno Jesus 2011-11-19 22:06:51 -02:00 committed by Alexandre Julliard
parent 0ba0f4ccf8
commit 8ad904c398

View file

@ -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("");