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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp
index b0dfe5c516..3e5c89eee5 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)
{
- POPUPDATAT pd = { 0 };
+ POPUPDATAW pd = { 0 };
pd.lchIcon = IcoLib_GetIconByHandle(icon);
- wcsncpy_s(pd.lptzContactName, title, _TRUNCATE);
- wcsncpy_s(pd.lptzText, message, _TRUNCATE);
+ wcsncpy_s(pd.lpwzContactName, title, _TRUNCATE);
+ wcsncpy_s(pd.lpwzText, message, _TRUNCATE);
pd.colorText = commonData.foreground;
pd.colorBack = commonData.background;
- PUAddPopupT(&pd);
+ PUAddPopupW(&pd);
}
void __cdecl RefreshUserDetailsWorkerThread(void*)