summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2013-05-29 02:30:45 +0000
committerVlad Mironov <mironych@googlemail.com>2013-05-29 02:30:45 +0000
commit16b8f884bcfec509b411681a23b58083cf503f03 (patch)
treea2f5a6aee55df3e77ec8e957d9b2bbf18f788ef8 /plugins/TrafficCounter
parentf40720a77a2ed981bcab6dcceb6896d2c0781671 (diff)
TrafficCounter: fixed wrong accounts order
git-svn-id: http://svn.miranda-ng.org/main/trunk@4828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r--plugins/TrafficCounter/src/statistics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TrafficCounter/src/statistics.cpp b/plugins/TrafficCounter/src/statistics.cpp
index 3e45fe5312..42bf0aaa10 100644
--- a/plugins/TrafficCounter/src/statistics.cpp
+++ b/plugins/TrafficCounter/src/statistics.cpp
@@ -38,11 +38,11 @@ INT_PTR CALLBACK DlgProcOptStatistics(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
// Создаём ListBox c перечнем аккаунтов.
hListAccs = CreateWindowEx(WS_EX_CLIENTEDGE,
_T("ListBox"),
- NULL, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | LBS_NOTIFY,
+ NULL, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | LBS_NOTIFY,
2, 20, 246, 112,
hwndDlg, NULL, NULL, NULL);
SendMessage(hListAccs, WM_SETFONT, (WPARAM)(HFONT)GetStockObject(DEFAULT_GUI_FONT), 0);
- for (i = NumberOfAccounts; i--; )
+ for (i = 0 ; i < NumberOfAccounts; i++)
{
// Готовим список аккаунтов
if (ProtoList[i].tszAccountName)