win32: fix typo
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
1264fe8341
commit
14a3440bbf
src/core
|
@ -429,7 +429,7 @@ Q_GLOBAL_STATIC(Win32Helper, g_win32Helper)
|
||||||
WARNING << Utils::getSystemErrorMessage(kGetModuleHandleW);
|
WARNING << Utils::getSystemErrorMessage(kGetModuleHandleW);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
static const bool fallbackTitleBarWindowClass = [instance]() -> ATOM {
|
static const bool fallbackTitleBarWindowClass = [instance]() -> bool {
|
||||||
WNDCLASSEXW wcex = {};
|
WNDCLASSEXW wcex = {};
|
||||||
// First try to find out if we have registered the window class already.
|
// First try to find out if we have registered the window class already.
|
||||||
if (GetClassInfoExW(instance, kFallbackTitleBarWindowClassName, &wcex) != FALSE) {
|
if (GetClassInfoExW(instance, kFallbackTitleBarWindowClassName, &wcex) != FALSE) {
|
||||||
|
|
Loading…
Reference in New Issue