From 99962115431435cf17dfae4d3b7c8d7d55d824bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Mar 2019 15:29:44 +0300 Subject: life is too short to remember whether this structure is zeroed or not --- plugins/NewAwaySysMod/src/Notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewAwaySysMod') diff --git a/plugins/NewAwaySysMod/src/Notification.cpp b/plugins/NewAwaySysMod/src/Notification.cpp index e76ab4fdb9..a3405f66fa 100644 --- a/plugins/NewAwaySysMod/src/Notification.cpp +++ b/plugins/NewAwaySysMod/src/Notification.cpp @@ -23,7 +23,7 @@ void ShowMsg(wchar_t *FirstLine, wchar_t *SecondLine, bool IsErrorMsg, int Timeout) { - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; ppd.lchIcon = LoadIcon(nullptr, IsErrorMsg ? IDI_EXCLAMATION : IDI_INFORMATION); mir_wstrncpy(ppd.lpwzContactName, FirstLine, MAX_CONTACTNAME); mir_wstrncpy(ppd.lpwzText, SecondLine, MAX_SECONDLINE); -- cgit v1.2.3