summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index ebfb13b3a5..8cc9beaaae 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -64,7 +64,7 @@ void __stdcall ShowToastNotification(void* p)
thd->pPopupProc = td->pPopupProc;
thd->tstNotification = notification;
- notification->Show(new ToastEventHandler(thd));
+ notification->Show(thd);
lstNotifications.insert(notification);
}
else
@@ -255,7 +255,7 @@ static INT_PTR ShowMessageW(WPARAM wParam, LPARAM lParam)
static INT_PTR ShowMessage(WPARAM wParam, LPARAM lParam)
{
- ptrT tszText(mir_utf8decodeW((char*)wParam));
+ ptrW tszText(mir_utf8decodeW((char*)wParam));
return ShowMessageW(tszText, lParam);
}