Bug fix for changing Win32 window title

This commit is contained in:
Jack Andersen 2017-11-14 18:10:13 -10:00
parent 73daeef6f1
commit 2b6d0cbb1c
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ public:
{ {
/* New-window message (coalesced onto main thread) */ /* New-window message (coalesced onto main thread) */
std::unique_lock<std::mutex> lk(m_nwmt); std::unique_lock<std::mutex> lk(m_nwmt);
const SystemString* title = reinterpret_cast<const SystemString*>(msg.wParam); SystemStringView* title = reinterpret_cast<SystemStringView*>(msg.wParam);
m_mwret = newWindow(*title, 1); m_mwret = newWindow(*title, 1);
lk.unlock(); lk.unlock();
m_nwcv.notify_one(); m_nwcv.notify_one();