Skip to content

Commit 6acdce7

Browse files
committed
Backends: Win32: use UnregisterClassW() for matching consistency. (ocornut#8423, ocornut#7979)
Amend 3293ef8
1 parent 7730601 commit 6acdce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/imgui_impl_win32.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ static void ImGui_ImplWin32_InitMultiViewportSupport(bool platform_has_own_dc)
14111411

14121412
static void ImGui_ImplWin32_ShutdownMultiViewportSupport()
14131413
{
1414-
::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(nullptr));
1414+
::UnregisterClassW(L"ImGui Platform", ::GetModuleHandle(nullptr));
14151415
ImGui::DestroyPlatformWindows();
14161416
}
14171417

0 commit comments

Comments
 (0)