mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
Codechange: Use L"" instead of _T("") (#12703)
This commit is contained in:
parent
fb4a370d3f
commit
28e814f62a
@ -1276,7 +1276,7 @@ static void LoadWGLExtensions()
|
||||
* regarding context creation. To get around this, we create
|
||||
* a dummy window with a dummy context. The extension functions
|
||||
* remain valid even after this context is destroyed. */
|
||||
HWND wnd = CreateWindow(_T("STATIC"), _T("dummy"), WS_OVERLAPPEDWINDOW, 0, 0, 0, 0, nullptr, nullptr, GetModuleHandle(nullptr), nullptr);
|
||||
HWND wnd = CreateWindow(L"STATIC", L"dummy", WS_OVERLAPPEDWINDOW, 0, 0, 0, 0, nullptr, nullptr, GetModuleHandle(nullptr), nullptr);
|
||||
HDC dc = GetDC(wnd);
|
||||
|
||||
/* Set pixel format of the window. */
|
||||
|
Loading…
Reference in New Issue
Block a user