mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[USER32]: Now for the real fix: Initialize lpLibFileName and pCtx in User32CreateWindowEx prior to calling ClassNameToVersion.
This avoid passing invalid parameters to VersionRegisterClass (and subsequent functions) afterwards. Fix suggested by Mark Jansen, thanks! CORE-12855 svn path=/trunk/; revision=74018
This commit is contained in:
parent
0366c75f60
commit
41733bc328
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ User32CreateWindowEx(DWORD dwExStyle,
|
|||
BOOL Unicode, ClassFound = FALSE;
|
||||
HWND Handle = NULL;
|
||||
LPCWSTR lpszClsVersion;
|
||||
HANDLE pCtx;
|
||||
LPCWSTR lpLibFileName;
|
||||
LPCWSTR lpLibFileName = NULL;
|
||||
HANDLE pCtx = NULL;
|
||||
|
||||
#if 0
|
||||
DbgPrint("[window] User32CreateWindowEx style %d, exstyle %d, parent %d\n", dwStyle, dwExStyle, hWndParent);
|
||||
|
|
Loading…
Reference in a new issue