summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotifyAnything/src/main.cpp')
-rw-r--r--plugins/NotifyAnything/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp
index e82a525b98..3d020de41f 100644
--- a/plugins/NotifyAnything/src/main.cpp
+++ b/plugins/NotifyAnything/src/main.cpp
@@ -528,7 +528,7 @@ static int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM
int showMessage(const popup_t &msg)
{
- POPUPDATAEX ppd = { 0 };
+ POPUPDATA ppd = { 0 };
strncpy(ppd.lpzText, strip(msg.message).c_str(), MAX_SECONDLINE);
strncpy(ppd.lpzContactName, msg.contact.c_str(), MAX_CONTACTNAME);
ppd.colorBack = msg.background;
@@ -548,7 +548,7 @@ int showMessage(const popup_t &msg)
LeaveCS(&g_popups_cs);
- return CallServiceSync(MS_POPUP_ADDPOPUPEX, (WPARAM)&ppd, 0);
+ return PUAddPopUp(&ppd);
}
void replaceMessage(const popup_t &msg)