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/WhenWasIt/src/services.cpp | |
parent | a23186175cff579d5aeb231372e87b0b852bdb38 (diff) |
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'plugins/WhenWasIt/src/services.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/services.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp index 3e5c89eee5..e0f459d225 100644 --- a/plugins/WhenWasIt/src/services.cpp +++ b/plugins/WhenWasIt/src/services.cpp @@ -156,13 +156,13 @@ INT_PTR AddBirthdayService(WPARAM hContact, LPARAM) void ShowPopupMessage(const wchar_t *title, const wchar_t *message, HANDLE icon)
{
- POPUPDATAW pd = { 0 };
- pd.lchIcon = IcoLib_GetIconByHandle(icon);
- wcsncpy_s(pd.lpwzContactName, title, _TRUNCATE);
- wcsncpy_s(pd.lpwzText, message, _TRUNCATE);
- pd.colorText = commonData.foreground;
- pd.colorBack = commonData.background;
- PUAddPopupW(&pd);
+ POPUPDATAW ppd;
+ ppd.lchIcon = IcoLib_GetIconByHandle(icon);
+ wcsncpy_s(ppd.lpwzContactName, title, _TRUNCATE);
+ wcsncpy_s(ppd.lpwzText, message, _TRUNCATE);
+ ppd.colorText = commonData.foreground;
+ ppd.colorBack = commonData.background;
+ PUAddPopupW(&ppd);
}
void __cdecl RefreshUserDetailsWorkerThread(void*)
|