summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_toolbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-15 16:46:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-15 16:46:35 +0000
commite5962602ef75f2339dbb103667555ceb7c24e539 (patch)
tree0a2fd754e56e616b8580370153782e66d1588dae /plugins/Clist_modern/src/modern_toolbar.cpp
parent22016364f2c8b8ccccb40a58684bbb681133aade (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_toolbar.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_toolbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_toolbar.cpp b/plugins/Clist_modern/src/modern_toolbar.cpp
index d3156fd08c..77c4de6ead 100644
--- a/plugins/Clist_modern/src/modern_toolbar.cpp
+++ b/plugins/Clist_modern/src/modern_toolbar.cpp
@@ -347,11 +347,11 @@ static int Toolbar_ModulesLoaded(WPARAM, LPARAM)
}
db_set_b(NULL, "Compatibility", "TTB_Upgrade", 1);
}
- if ( !ServiceExists( MS_TTB_REMOVEBUTTON)) {
- if (bOldSetting == 1)
- if (IDYES == MessageBox(NULL, TranslateTS(szWarning), TranslateT("Toolbar upgrade"), MB_ICONQUESTION | MB_YESNO))
- CallService(MS_UTILS_OPENURL, 0, (LPARAM)szUrl);
- }
+
+ if ( !ServiceExists( MS_TTB_REMOVEBUTTON) && bOldSetting == 1)
+ if (IDYES == MessageBox(NULL, TranslateTS(szWarning), TranslateT("Toolbar upgrade"), MB_ICONQUESTION | MB_YESNO))
+ CallService(MS_UTILS_OPENURL, 0, (LPARAM)szUrl);
+
return 0;
}