From 2b6d0cbb1c5817eb7de1f60fbcfd3e006145d464 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 14 Nov 2017 18:10:13 -1000 Subject: [PATCH] Bug fix for changing Win32 window title --- lib/win/ApplicationWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/win/ApplicationWin32.cpp b/lib/win/ApplicationWin32.cpp index 778a55c..545ff72 100644 --- a/lib/win/ApplicationWin32.cpp +++ b/lib/win/ApplicationWin32.cpp @@ -395,7 +395,7 @@ public: { /* New-window message (coalesced onto main thread) */ std::unique_lock lk(m_nwmt); - const SystemString* title = reinterpret_cast(msg.wParam); + SystemStringView* title = reinterpret_cast(msg.wParam); m_mwret = newWindow(*title, 1); lk.unlock(); m_nwcv.notify_one();