diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-27 18:11:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-27 18:11:22 +0000 |
commit | 5434c7b224bafd30c382f0590a55c921dfedea54 (patch) | |
tree | 59b67c5666f5cb765d9b8de52f4c61da9cc56e6c /protocols/JabberG/src/jabber_menu.cpp | |
parent | fb8d04451e6808b1c88116c7d6d6c473831c5a2b (diff) |
- fix for the Jabber chat's Member Info dialog
- ++i -> i++
git-svn-id: http://svn.miranda-ng.org/main/trunk@3310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_menu.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_menu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 0ee785ef41..f43f4ab012 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -312,7 +312,7 @@ void g_MenuInit(void) mi.flags |= CMIF_ROOTHANDLE;
mi.flags &= ~CMIF_ICONFROMICOLIB;
- for (int i = 0; i < SIZEOF(PresenceModeArray); ++i)
+ for (int i = 0; i < SIZEOF(PresenceModeArray); i++)
{
char buf[] = "Jabber/DirectPresenceX";
buf[SIZEOF(buf)-2] = '0' + i;
@@ -399,7 +399,7 @@ int CJabberProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) return 0;
sttEnableMenuItem(g_hMenuDirectPresence[0], TRUE);
- for (int i = 0; i < SIZEOF(PresenceModeArray); ++i)
+ for (int i = 0; i < SIZEOF(PresenceModeArray); i++)
{
CLISTMENUITEM clmi = { sizeof(clmi) };
clmi.flags = CMIM_ICON|CMIM_FLAGS;
@@ -467,7 +467,7 @@ int CJabberProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) mi.pszContactOwner = m_szModuleName;
TCHAR szTmp[512];
- for (int i = 0; i < nMenuResourceItemsNew; ++i) {
+ for (int i = 0; i < nMenuResourceItemsNew; i++) {
mir_snprintf(tDest, SIZEOF(text) - nModuleNameLength, "/UseResource_%d", i);
if (i >= m_nMenuResourceItems) {
JCreateServiceParam(tDest, &CJabberProto::OnMenuHandleResource, MENUITEM_RESOURCES+i);
@@ -836,7 +836,7 @@ void CJabberProto::MenuInit() JCreateServiceParam(svcName, &CJabberProto::OnMenuSetPriority, 0);
int steps[] = { 10, 5, 1, 0, -1, -5, -10 };
- for (int i = 0; i < SIZEOF(steps); ++i) {
+ for (int i = 0; i < SIZEOF(steps); i++) {
if ( !steps[i]) {
mi.position += 100000;
continue;
@@ -1154,7 +1154,7 @@ int CJabberProto::OnProcessSrmmIconClick(WPARAM wParam, LPARAM lParam) AppendMenu(hMenu, MF_STRING, MENUITEM_SERVER, TranslateT("Highest priority (server's choice)"));
AppendMenu(hMenu, MF_SEPARATOR, 0, NULL);
- for (int i = 0; i < LI->resourceCount; ++i)
+ for (int i = 0; i < LI->resourceCount; i++)
AppendMenu(hMenu, MF_STRING, MENUITEM_RESOURCES+i, LI->resource[i].resourceName);
if (LI->resourceMode == RSMODE_LASTSEEN)
@@ -1275,7 +1275,7 @@ CJabberProto *JabberChooseInstance(bool bIsLink) CLISTMENUITEM clmi = { sizeof(clmi) };
int nItems = 0, lastItemId = 0;
- for (int i = 0; i < g_Instances.getCount(); ++i) {
+ for (int i = 0; i < g_Instances.getCount(); i++) {
clmi.flags = CMIM_FLAGS;
CJabberProto* ppro = g_Instances[i];
|