From 28e814f62a0cbf4eb0918a648dd4c35eaf5ea87c Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 20 May 2024 18:34:22 +0100 Subject: [PATCH] Codechange: Use L"" instead of _T("") (#12703) --- src/video/win32_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 1e65ab6ac0..315c6e3e4e 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -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. */