mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 10:44:47 +00:00
winecfg: Ensure registry key is initialised before updating Windows version.
Signed-off-by: Owen Rudge <orudge@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d08ef1e2ca
commit
1eed470674
1 changed files with 3 additions and 3 deletions
|
@ -247,14 +247,14 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrev, LPSTR szCmdLine, int nShow)
|
|||
Wow64RevertWow64FsRedirection( redir );
|
||||
}
|
||||
|
||||
cmd_ret = ProcessCmdLine(szCmdLine);
|
||||
if (cmd_ret >= 0) return cmd_ret;
|
||||
|
||||
if (initialize(hInstance)) {
|
||||
WINE_ERR("initialization failed, aborting\n");
|
||||
ExitProcess(1);
|
||||
}
|
||||
|
||||
cmd_ret = ProcessCmdLine(szCmdLine);
|
||||
if (cmd_ret >= 0) return cmd_ret;
|
||||
|
||||
/*
|
||||
* The next 9 lines should be all that is needed
|
||||
* for the Wine Configuration property sheet
|
||||
|
|
Loading…
Reference in a new issue