mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 467371 - VERIFY in nsToolKit::Startup should check GetLastError() for ERROR_CLASS_ALREADY_EXISTS. r=dougt
This commit is contained in:
parent
5e5752733e
commit
9f3f82e721
@ -261,7 +261,8 @@ nsToolkit::Startup(HMODULE hModule)
|
|||||||
wc.hbrBackground = NULL;
|
wc.hbrBackground = NULL;
|
||||||
wc.lpszMenuName = NULL;
|
wc.lpszMenuName = NULL;
|
||||||
wc.lpszClassName = L"nsToolkitClass";
|
wc.lpszClassName = L"nsToolkitClass";
|
||||||
VERIFY(::RegisterClassW(&wc));
|
VERIFY(::RegisterClassW(&wc) ||
|
||||||
|
GetLastError() == ERROR_CLASS_ALREADY_EXISTS);
|
||||||
|
|
||||||
// Vista API. Mozilla is DPI Aware.
|
// Vista API. Mozilla is DPI Aware.
|
||||||
typedef BOOL (*SetProcessDPIAwareFunc)(VOID);
|
typedef BOOL (*SetProcessDPIAwareFunc)(VOID);
|
||||||
|
Loading…
Reference in New Issue
Block a user