summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-04 22:51:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-04 22:51:49 +0300
commit5e3a8cf7fddfadc0b3e9a0165cbc903c7be1e68a (patch)
treea04968cfc01ab72a83f812ded7a9f8868899d18e /protocols/ICQ-WIM/src/options.cpp
parent338a21fdbdab5863b17dd64aa087110cc33049d6 (diff)
nah... we immediately use the first status when a contact goes offline, then the second one, then ID_STATUS_OFFLINE
Diffstat (limited to 'protocols/ICQ-WIM/src/options.cpp')
-rw-r--r--protocols/ICQ-WIM/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp
index dbac044638..f470d604de 100644
--- a/protocols/ICQ-WIM/src/options.cpp
+++ b/protocols/ICQ-WIM/src/options.cpp
@@ -191,7 +191,7 @@ public:
bool OnInitDialog() override
{
if (cmbStatus1.GetHwnd()) {
- for (int iStatus = ID_STATUS_OFFLINE; iStatus <= ID_STATUS_OUTTOLUNCH; iStatus++) {
+ for (DWORD iStatus = ID_STATUS_OFFLINE; iStatus <= ID_STATUS_OUTTOLUNCH; iStatus++) {
int idx = cmbStatus1.AddString(Clist_GetStatusModeDescription(iStatus, 0));
cmbStatus1.SetItemData(idx, iStatus);
if (iStatus == m_proto->m_iStatus1)