summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 19:23:18 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 19:23:18 +0000
commit515b07f0d98c647c5151867d75a6c8a05d329bfa (patch)
treee5ad8d26315dbade891a033fb537001cfd62f0c5
parentaa5cdb819a83b85c4414a453060dba1422c0ae55 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Toaster/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 1168e8cc95..20a9303373 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -112,9 +112,9 @@ static INT_PTR PopupQuery(WPARAM wParam, LPARAM)
bool enabled = db_get_b(0, "Popup", "ModuleIsEnabled", 1) != 0;
if (enabled) db_set_b(0, "Popup", "ModuleIsEnabled", 0);
+ mir_cslock lck(csNotifications);
while (lstNotifications.getCount())
{
- mir_cslock lck(csNotifications);
lstNotifications[0].Hide();
lstNotifications.remove(0);
}