From e5962602ef75f2339dbb103667555ceb7c24e539 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jul 2013 16:46:35 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_toolbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') 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; } -- cgit v1.2.3