From 5a18a53b28d4fa486069208d2f50a7216091e6e8 Mon Sep 17 00:00:00 2001
From: MikalaiR <nikolay.romanovich@narod.ru>
Date: Sun, 30 Aug 2015 10:06:22 +0000
Subject: Toaster: small fix

git-svn-id: http://svn.miranda-ng.org/main/trunk@15114 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/Toaster/src/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins')

diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index ccfedcefa1..66db53929e 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -63,7 +63,7 @@ int OnPreShutdown(WPARAM, LPARAM)
 {
 	mir_cslock lck(csNotifications);
 	for (int i = 0; i < lstNotifications.getCount(); i++)
-		lstNotifications[0].Hide();
+		lstNotifications[i].Hide();
 
 	lstNotifications.destroy();
 
-- 
cgit v1.2.3