summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-11 22:37:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-11 22:37:48 +0300
commit42099821c49b5495032b30df5fb97e264d0352bd (patch)
tree239ff67c455a6e938ae8fe58db48513eb0ec5553 /src
parent0ddd97a0c9b13b8d7f5b4cf84bf44e40126b5522 (diff)
crash fix
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/proto_opts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp
index 250a5aa133..22e5c5f9a5 100644
--- a/src/mir_app/src/proto_opts.cpp
+++ b/src/mir_app/src/proto_opts.cpp
@@ -881,7 +881,7 @@ LRESULT CAccountListCtrl::CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam)
if (wParam == ' ') {
int iItem = GetCurSel();
if (iItem >= 0)
- PARENT()->OnAccountCheck(m_iItem);
+ PARENT()->OnAccountCheck(iItem);
return 0;
}