diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-25 16:44:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-25 16:44:33 +0000 |
commit | 27035a4a46167dc714b770c77561f14e8d0b945d (patch) | |
tree | b67bbf56d590118aeae36bd187966666983f8631 /src/modules/clist/clistmenus.cpp | |
parent | a30011d4b7881cc9e55077ddd6b9686ce54c3343 (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/clistmenus.cpp')
-rw-r--r-- | src/modules/clist/clistmenus.cpp | 3 |
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;
|