summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
commit99962115431435cf17dfae4d3b7c8d7d55d824bf (patch)
tree1c80a533f5d3d4ba9d3b894a9a38b9167fe3047e /plugins/NotifyAnything/src
parenta23186175cff579d5aeb231372e87b0b852bdb38 (diff)
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'plugins/NotifyAnything/src')
-rw-r--r--plugins/NotifyAnything/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp
index f6bc0cbd79..7c3995e97e 100644
--- a/plugins/NotifyAnything/src/main.cpp
+++ b/plugins/NotifyAnything/src/main.cpp
@@ -480,7 +480,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA
int showMessage(const popup_t &msg)
{
- POPUPDATAW ppd = { 0 };
+ POPUPDATAW ppd;
wcsncpy(ppd.lpwzText, strip(msg.message).c_str(), MAX_SECONDLINE);
wcsncpy(ppd.lpwzContactName, msg.contact.c_str(), MAX_CONTACTNAME);
ppd.colorBack = msg.background;