Fixed delete after new[] (induced by last commit)

Former-commit-id: 44a4af07d5c1e6b28b6351318f3ca919f940f2a9
This commit is contained in:
Lynix 2013-05-23 02:22:23 +02:00
parent 738788b4c3
commit 50e8ce3658
1 changed files with 1 additions and 1 deletions

View File

@ -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;