summaryrefslogtreecommitdiff
path: root/popup/src/notifications.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 17:39:28 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 17:39:28 +0000
commitbb88f142d7d41f0d6e6a4d1919fe6d6ace03fbe2 (patch)
tree599c9f5e30155eea5e3c4d99bde612800320671f /popup/src/notifications.cpp
parentb69a7f60f7ef2b0ce17a69fe8e772aec9c7dcdd8 (diff)
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
Diffstat (limited to 'popup/src/notifications.cpp')
-rw-r--r--popup/src/notifications.cpp2
1 files changed, 1 insertions, 1 deletions
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 =