From c888cdec61b7c3fdf164b15841b6aa148f0148d5 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 25 Sep 2015 18:47:53 +0000 Subject: Toaster: crash fix; check in options for enable/disable git-svn-id: http://svn.miranda-ng.org/main/trunk@15443 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/toast_notification.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Toaster/src/toast_notification.cpp') diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index acbb5d627c..0275920c64 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -77,9 +77,9 @@ HRESULT ToastNotification::Show(_In_ ToastEventHandler* handler) { ComPtr eventHandler(handler); - notification->add_Activated(eventHandler.Get(), &_ertActivated); - notification->add_Dismissed(eventHandler.Get(), &_ertDismissed); - notification->add_Failed(eventHandler.Get(), &_ertFailed); + CHECKHR(notification->add_Activated(eventHandler.Get(), &_ertActivated)); + CHECKHR(notification->add_Dismissed(eventHandler.Get(), &_ertDismissed)); + CHECKHR(notification->add_Failed(eventHandler.Get(), &_ertFailed)); return notifier->Show(notification.Get()); } -- cgit v1.2.3