diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_disco.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_disco.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/JabberG/src/jabber_disco.cpp b/protocols/JabberG/src/jabber_disco.cpp index e65d1c512e..21c8d75f3c 100644 --- a/protocols/JabberG/src/jabber_disco.cpp +++ b/protocols/JabberG/src/jabber_disco.cpp @@ -440,7 +440,7 @@ void CJabberProto::PerformBrowse(HWND hwndDlg) else if ( !lstrcmp(szJid, _T(SD_FAKEJID_FAVORITES))) {
sttBrowseMode = SD_BROWSE_FAVORITES;
int count = JGetDword(NULL, "discoWnd_favCount", 0);
- for (int i = 0; i < count; ++i)
+ for (int i = 0; i < count; i++)
{
DBVARIANT dbv;
char setting[MAXMODULELABELLENGTH];
@@ -507,7 +507,7 @@ void CJabberProto::ApplyNodeIcon(HTREELISTITEM hItem, CJabberSDNode *pNode) iOverlay = SD_OVERLAY_NONE;
}
- for (int i = 0; i < SIZEOF(sttNodeIcons); ++i)
+ for (int i = 0; i < SIZEOF(sttNodeIcons); i++)
{
if ( !sttNodeIcons[i].iconIndex && !sttNodeIcons[i].iconName) continue;
@@ -682,7 +682,7 @@ void CJabberDlgDiscovery::OnInitDialog() TreeList_Create(hwndList);
TreeList_AddIcon(hwndList, m_proto->LoadIconEx("main"), 0);
- for (i = 0; i < SIZEOF(sttNodeIcons); ++i)
+ for (i = 0; i < SIZEOF(sttNodeIcons); i++)
{
bool needDestroy = false;
HICON hIcon;
@@ -808,7 +808,7 @@ void CJabberDlgDiscovery::btnBookmarks_OnClick(CCtrlButton *) {
HMENU hMenu = CreatePopupMenu();
int count = m_proto->JGetDword(NULL, "discoWnd_favCount", 0);
- for (int i = 0; i < count; ++i)
+ for (int i = 0; i < count; i++)
{
DBVARIANT dbv;
char setting[MAXMODULELABELLENGTH];
@@ -877,7 +877,7 @@ void CJabberDlgDiscovery::btnBookmarks_OnClick(CCtrlButton *) if (res == 1)
{
int count = m_proto->JGetDword(NULL, "discoWnd_favCount", 0);
- for (int i = 0; i < count; ++i)
+ for (int i = 0; i < count; i++)
{
char setting[MAXMODULELABELLENGTH];
mir_snprintf(setting, sizeof(setting), "discoWnd_favName_%d", i);
@@ -1021,7 +1021,7 @@ INT_PTR CJabberDlgDiscovery::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) m_proto->m_SDManager.Lock();
XmlNode packet(NULL);
- for (int i = iFirst; i <= iLast; ++i)
+ for (int i = iFirst; i <= iLast; i++)
{
LVITEM lvi = {0};
lvi.mask = LVIF_PARAM;
@@ -1227,7 +1227,7 @@ void CJabberProto::ServiceDiscoveryShowMenu(CJabberSDNode *pNode, HTREELISTITEM HMENU hMenu = CreatePopupMenu();
BOOL lastSeparator = TRUE;
bool bFilterItems = !GetAsyncKeyState(VK_CONTROL);
- for (int i = 0; i < SIZEOF(items); ++i)
+ for (int i = 0; i < SIZEOF(items); i++)
{
JABBER_LIST_ITEM *rosterItem = NULL;
|