summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-25 16:44:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-25 16:44:33 +0000
commit27035a4a46167dc714b770c77561f14e8d0b945d (patch)
treeb67bbf56d590118aeae36bd187966666983f8631 /src/modules/clist
parenta30011d4b7881cc9e55077ddd6b9686ce54c3343 (diff)
draft version of the dynamic accounts' removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@1655 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clistmenus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp
index 53f7728d9c..00d5ad157a 100644
--- a/src/modules/clist/clistmenus.cpp
+++ b/src/modules/clist/clistmenus.cpp
@@ -812,8 +812,7 @@ int fnGetProtoIndexByPos(PROTOCOLDESCRIPTOR ** proto, int protoCnt, int Pos)
int fnGetAccountIndexByPos(int Pos)
{
- int i;
- for (i=0; i < accounts.getCount(); i++)
+ for (int i=0; i < accounts.getCount(); i++)
if (accounts[i]->iOrder == Pos)
return i;