From bb88f142d7d41f0d6e6a4d1919fe6d6ace03fbe2 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 24 Apr 2011 17:39:28 +0000 Subject: popup: typo fixed fixed errors with ansi plugins fixed destroying all of popups windows before unloading added destroing functions on exit git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@24 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- popup/src/notifications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'popup/src/notifications.cpp') diff --git a/popup/src/notifications.cpp b/popup/src/notifications.cpp index 03f8c24..89cf7d8 100644 --- a/popup/src/notifications.cpp +++ b/popup/src/notifications.cpp @@ -167,7 +167,7 @@ void LoadNotificationSettings(POPUPTREEDATA *ptd, char* szModul) mir_snprintf(setting, sizeof(setting), "{%s/%s}TimeoutVal", ptd->notification.lpzGroup, ptd->notification.lpzName); ptd->timeoutValue = (signed char)DBGetContactSettingWord(NULL, szModul, setting, - ptd->notification.iSeconds ? ptd->notification.iSeconds : PopUpOptions.Seconds); + ptd->notification.iSeconds ? ptd->notification.iSeconds : 0); mir_snprintf(setting, sizeof(setting), "{%s/%s}disableWhen", ptd->notification.lpzGroup, ptd->notification.lpzName); ptd->disableWhen = -- cgit v1.2.3