From 16b8f884bcfec509b411681a23b58083cf503f03 Mon Sep 17 00:00:00 2001 From: Vlad Mironov Date: Wed, 29 May 2013 02:30:45 +0000 Subject: TrafficCounter: fixed wrong accounts order git-svn-id: http://svn.miranda-ng.org/main/trunk@4828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TrafficCounter/src/statistics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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) -- cgit v1.2.3