diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-08 15:29:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-08 15:29:44 +0300 |
commit | 99962115431435cf17dfae4d3b7c8d7d55d824bf (patch) | |
tree | 1c80a533f5d3d4ba9d3b894a9a38b9167fe3047e /protocols/WebView | |
parent | a23186175cff579d5aeb231372e87b0b852bdb38 (diff) |
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'protocols/WebView')
-rw-r--r-- | protocols/WebView/src/webview_alerts.cpp | 2 | ||||
-rw-r--r-- | protocols/WebView/src/webview_opts.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WebView/src/webview_alerts.cpp b/protocols/WebView/src/webview_alerts.cpp index 776b100181..d03742bdb9 100644 --- a/protocols/WebView/src/webview_alerts.cpp +++ b/protocols/WebView/src/webview_alerts.cpp @@ -111,7 +111,7 @@ int WAlertOSD(MCONTACT hContact, wchar_t *displaytext) /*****************************************************************************/ int PopupAlert(WPARAM hContact, LPARAM lParam) { - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; if (hContact != 0) mir_wstrncpy(ppd.lpwzContactName, ptrW(g_plugin.getWStringA(hContact, PRESERVE_NAME_KEY)), _countof(ppd.lpwzContactName)); diff --git a/protocols/WebView/src/webview_opts.cpp b/protocols/WebView/src/webview_opts.cpp index 35b47b8110..9d9a75830d 100644 --- a/protocols/WebView/src/webview_opts.cpp +++ b/protocols/WebView/src/webview_opts.cpp @@ -187,7 +187,7 @@ INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) case IDC_PREVIEW: wchar_t str3[512]; - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; GetDlgItemText(hdlg, IDC_DELAY, str3, _countof(str3)); |