summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-29 13:33:25 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-29 13:33:25 +0000
commit98f090a525e33973738e4105b6e8257ab34ff6eb (patch)
tree6aecfaef0cc0d24eab8134fb690f92df10d8668b /plugins/Toaster/src/services.cpp
parent8235db586d12c56b18ebf4d1279c873b4fe7cac7 (diff)
Toaster: code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@15471 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}