diff options
Diffstat (limited to 'plugins/WinterSpeak/src/MirandaDialog.cpp')
-rw-r--r-- | plugins/WinterSpeak/src/MirandaDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WinterSpeak/src/MirandaDialog.cpp b/plugins/WinterSpeak/src/MirandaDialog.cpp index 882ffa044f..646b8a198e 100644 --- a/plugins/WinterSpeak/src/MirandaDialog.cpp +++ b/plugins/WinterSpeak/src/MirandaDialog.cpp @@ -20,7 +20,7 @@ WCHAR *MirandaDialog::Hlp_GetDlgItemText(HWND hwndDlg, int nIDDlgItem) { int len = SendDlgItemMessage(hwndDlg, nIDDlgItem, WM_GETTEXTLENGTH, 0, 0);
if (len < 0)
- return NULL;
+ return nullptr;
WCHAR *res = (WCHAR*)mir_alloc((len+1)*sizeof(WCHAR));
memset(res, 0, ((len + 1) * sizeof(WCHAR)));
|