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 /plugins/NewAwaySysMod/src/Notification.cpp | |
parent | a23186175cff579d5aeb231372e87b0b852bdb38 (diff) |
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'plugins/NewAwaySysMod/src/Notification.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/src/Notification.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|