Fixed delete after new[] (induced by last commit)
Former-commit-id: 44a4af07d5c1e6b28b6351318f3ca919f940f2a9
This commit is contained in:
parent
738788b4c3
commit
50e8ce3658
|
|
@ -121,7 +121,7 @@ bool NzWindowImpl::Create(NzVideoMode mode, const NzString& title, nzUInt32 styl
|
|||
|
||||
m_callback = 0;
|
||||
|
||||
std::unique_ptr<wchar_t> wtitle(title.GetWideBuffer());
|
||||
std::unique_ptr<wchar_t[]> wtitle(title.GetWideBuffer());
|
||||
|
||||
#if NAZARA_UTILITY_THREADED_WINDOW
|
||||
NzMutex mutex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue