summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/notifications.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-20 16:03:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-20 16:03:04 +0000
commitd7b15f5f89319f1a9077efb50bd3a242a5dc2b52 (patch)
treea28c1bfd2a40556cb61f95ec67e1d9aabeb82cd5 /plugins/Popup/src/notifications.cpp
parent5c7ba495c74de2d7342ad05c59632b43c1d5321f (diff)
fixes for various hangups & crashes on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@3652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/notifications.cpp')
-rw-r--r--plugins/Popup/src/notifications.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp
index 6df5fb3003..193baf5ccf 100644
--- a/plugins/Popup/src/notifications.cpp
+++ b/plugins/Popup/src/notifications.cpp
@@ -74,7 +74,7 @@ void LoadNotifications()
void UnloadTreeData()
{
for (int i=0; i < gTreeData.getCount(); ++i) {
- if(gTreeData[i]->typ == 2) {
+ if (gTreeData[i]->typ == 2) {
mir_free(gTreeData[i]->pupClass.pszName);
mir_free(gTreeData[i]->pupClass.pszDescription);
}
@@ -86,7 +86,7 @@ void UnloadTreeData()
void SaveNotificationSettings(POPUPTREEDATA *ptd, char* szModul)
{
- if(ptd->typ == 1) {
+ if (ptd->typ == 1) {
char setting[2*MAXMODULELABELLENGTH];
mir_snprintf(setting, sizeof(setting), "{%s/%s}Timeout",
@@ -143,7 +143,7 @@ void SaveNotificationSettings(POPUPTREEDATA *ptd, char* szModul)
void LoadNotificationSettings(POPUPTREEDATA *ptd, char* szModul)
{
- if(ptd->typ == 1) {
+ if (ptd->typ == 1) {
char setting[2*MAXMODULELABELLENGTH];
char *szTmp = NULL;