diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-29 18:19:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-29 18:19:20 +0000 |
commit | 25f639726e86826fac199133caf9f69cd97ebb76 (patch) | |
tree | b72a51532feb597b1afd3dda7ae9173c5d04f6c1 /plugins/StatusPlugins/StartupStatus | |
parent | f36f030010db792a3650b7bc64c2e439861c4552 (diff) |
various minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/profiles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/profiles.cpp b/plugins/StatusPlugins/StartupStatus/profiles.cpp index 03fd184191..c756889587 100644 --- a/plugins/StatusPlugins/StartupStatus/profiles.cpp +++ b/plugins/StatusPlugins/StartupStatus/profiles.cpp @@ -97,9 +97,9 @@ static int CreateMainMenuItems(WPARAM, LPARAM) mi.flags = CMIF_TCHAR; mcount = 0; count = GetProfileCount(0, 0); - for (i=0; i < count; i++) { + for (i = 0; i < count; i++) { TCHAR profilename[128]; - if ( !db_get_b(NULL, MODULENAME, OptName(i, SETTING_CREATEMMITEM), 0) || GetProfileName(i, (LPARAM)profilename)) + if (!db_get_b(NULL, MODULENAME, OptName(i, SETTING_CREATEMMITEM), 0) || GetProfileName(i, (LPARAM)profilename)) continue; if (db_get_b(NULL, MODULENAME, OptName(i, SETTING_INSUBMENU), 1)) @@ -132,7 +132,7 @@ static int CreateMainMenuItems(WPARAM, LPARAM) return 0; } mi.pszService = servicename; - if ( Menu_AddStatusMenuItem(&mi)) { + if (Menu_AddStatusMenuItem(&mi)) { menuprofiles[mcount] = i; mcount += 1; } |