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_frame.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_frame.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_frame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_frame.cpp b/protocols/JabberG/src/jabber_frame.cpp index f5e4b2aadc..c4f263e52e 100644 --- a/protocols/JabberG/src/jabber_frame.cpp +++ b/protocols/JabberG/src/jabber_frame.cpp @@ -200,7 +200,7 @@ LRESULT CJabberInfoFrame::WndProc(UINT msg, WPARAM wParam, LPARAM lParam) case WM_LBUTTONDOWN:
{
POINT pt = { LOWORD(lParam), HIWORD(lParam) };
- for (int i = 0; i < m_pItems.getCount(); ++i)
+ for (int i = 0; i < m_pItems.getCount(); i++)
if (m_pItems[i].m_onEvent && PtInRect(&m_pItems[i].m_rcItem, pt)) {
m_clickedItem = i;
return 0;
@@ -413,7 +413,7 @@ void CJabberInfoFrame::PaintNormal(HDC hdc) int line_height = cy_icon + SZ_LINEPADDING;
int cy = SZ_FRAMEPADDING;
- for (int i = 0; i < m_pItems.getCount(); ++i) {
+ for (int i = 0; i < m_pItems.getCount(); i++) {
CJabberInfoFrameItem &item = m_pItems[i];
if ( !item.m_bShow) {
@@ -483,7 +483,7 @@ void CJabberInfoFrame::ShowInfoItem(char *pszName, bool bShow) {
bool bUpdate = false;
size_t length = strlen(pszName);
- for (int i = 0; i < m_pItems.getCount(); ++i)
+ for (int i = 0; i < m_pItems.getCount(); i++)
if ((m_pItems[i].m_bShow != bShow) && !strncmp(m_pItems[i].m_pszName, pszName, length)) {
m_pItems[i].m_bShow = bShow;
m_hiddenItemCount += bShow ? -1 : 1;
@@ -498,7 +498,7 @@ void CJabberInfoFrame::RemoveInfoItem(char *pszName) {
bool bUpdate = false;
size_t length = strlen(pszName);
- for (int i = 0; i < m_pItems.getCount(); ++i)
+ for (int i = 0; i < m_pItems.getCount(); i++)
if ( !strncmp(m_pItems[i].m_pszName, pszName, length)) {
if ( !m_pItems[i].m_bShow) --m_hiddenItemCount;
RemoveTooltip(m_pItems[i].m_tooltipId);
|