mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 15:23:37 +00:00
regedit: Export Unicode registry files by default.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ee11f6fff5
commit
0ab54e4a64
|
@ -431,7 +431,7 @@ static BOOL InitOpenFileName(HWND hWnd, OPENFILENAMEW *pofn)
|
|||
snprintfW( FilterBuffer, MAX_PATH, filterW, filter_reg, 0, 0, filter_reg4, 0, 0, filter_all, 0, 0 );
|
||||
}
|
||||
pofn->lpstrFilter = FilterBuffer;
|
||||
pofn->nFilterIndex = 2;
|
||||
pofn->nFilterIndex = 1;
|
||||
pofn->lpstrFile = FileNameBuffer;
|
||||
pofn->nMaxFile = _MAX_PATH;
|
||||
pofn->lpstrFileTitle = FileTitleBuffer;
|
||||
|
|
|
@ -157,9 +157,9 @@ static void PerformRegAction(REGEDIT_ACTION action, WCHAR **argv, int *i)
|
|||
WCHAR *key_name = argv[++(*i)];
|
||||
|
||||
if (key_name && *key_name)
|
||||
export_registry_key(filename, key_name, REG_FORMAT_4);
|
||||
export_registry_key(filename, key_name, REG_FORMAT_5);
|
||||
else
|
||||
export_registry_key(filename, NULL, REG_FORMAT_4);
|
||||
export_registry_key(filename, NULL, REG_FORMAT_5);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue