diff options
Diffstat (limited to 'win/rfb_win32/MsgBox.h')
-rw-r--r-- | win/rfb_win32/MsgBox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/MsgBox.h b/win/rfb_win32/MsgBox.h index 59571395..918a909f 100644 --- a/win/rfb_win32/MsgBox.h +++ b/win/rfb_win32/MsgBox.h @@ -48,7 +48,7 @@ namespace rfb { flags |= MB_TOPMOST | MB_SETFOREGROUND; int len = _tcslen(AppName.buf) + 1; if (msgType) len += _tcslen(msgType) + 3; - TCharArray title = new TCHAR[len]; + TCharArray title(new TCHAR[len]); _tcscpy(title.buf, AppName.buf); if (msgType) { _tcscat(title.buf, _T(" : ")); |