summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhenWasIt/src/services.cpp')
-rw-r--r--plugins/WhenWasIt/src/services.cpp14
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*)