Prechádzať zdrojové kódy

Backends: Win32: use UnregisterClassW() for matching consistency. (#8423, #7979)

Amend 3293ef8bb
ocornut 6 mesiacov pred
rodič
commit
6acdce78d1
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      backends/imgui_impl_win32.cpp

+ 1 - 1
backends/imgui_impl_win32.cpp

@@ -1411,7 +1411,7 @@ static void ImGui_ImplWin32_InitMultiViewportSupport(bool platform_has_own_dc)
 
 static void ImGui_ImplWin32_ShutdownMultiViewportSupport()
 {
-    ::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(nullptr));
+    ::UnregisterClassW(L"ImGui Platform", ::GetModuleHandle(nullptr));
     ImGui::DestroyPlatformWindows();
 }