mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
regedit: Call InitCommonControls after command-line has been processed.
Avoid triggering the load of comctl32 early.
This commit is contained in:
parent
81e9b72dc9
commit
99b3862e67
|
@ -132,8 +132,6 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
|
|||
HACCEL hAccel;
|
||||
BOOL is_wow64;
|
||||
|
||||
InitCommonControls();
|
||||
|
||||
if (ProcessCmdLine(GetCommandLineW())) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -161,6 +159,8 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
|
|||
Wow64RevertWow64FsRedirection( redir );
|
||||
}
|
||||
|
||||
InitCommonControls();
|
||||
|
||||
/* Initialize global strings */
|
||||
LoadStringW(hInstance, IDS_APP_TITLE, szTitle, ARRAY_SIZE(szTitle));
|
||||
LoadStringW(hInstance, IDS_REGISTRY_DEFAULT_VALUE, g_pszDefaultValueName, ARRAY_SIZE(g_pszDefaultValueName));
|
||||
|
|
Loading…
Reference in a new issue