Commit 1eed4706 authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

winecfg: Ensure registry key is initialised before updating Windows version.

parent d08ef1e2
......@@ -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
......
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