From a15cd68f0412e1b211e746a2e4d5682e96f5a113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:52:01 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WinterSpeak/src/DialogConfigActive.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/WinterSpeak/src/DialogConfigActive.cpp') diff --git a/plugins/WinterSpeak/src/DialogConfigActive.cpp b/plugins/WinterSpeak/src/DialogConfigActive.cpp index feec1c51b5..894865c17a 100644 --- a/plugins/WinterSpeak/src/DialogConfigActive.cpp +++ b/plugins/WinterSpeak/src/DialogConfigActive.cpp @@ -96,7 +96,7 @@ void DialogConfigActive::notify(HWND hwndDlg, LPARAM lParam) { switch (((LPNMHDR)lParam)->code) { case CLN_NEWCONTACT: case CLN_LISTREBUILT: - SetAllContactIcons( GetDlgItem(hwndDlg, IDC_ACTIVE_USERS), hwndDlg); + SetAllContactIcons( GetDlgItem(hwndDlg, IDC_ACTIVE_USERS)); //fall through case CLN_CONTACTMOVED: SetListGroupIcons( GetDlgItem(hwndDlg, IDC_ACTIVE_USERS), (HANDLE)SendDlgItemMessage(hwndDlg, IDC_ACTIVE_USERS, CLM_GETNEXTITEM, CLGN_ROOT, 0), hItemAll, NULL); @@ -187,7 +187,7 @@ void DialogConfigActive::load(HWND window) ConfigDatabase::ActiveUsersMap active_users = m_db.getActiveUsers(); this->InitialiseItem(listview, hItemUnknown, active_users[0].message, active_users[0].status); } - this->SetAllContactIcons(listview, window); + this->SetAllContactIcons(listview); this->SetListGroupIcons(GetDlgItem(window, IDC_ACTIVE_USERS), (HANDLE)SendDlgItemMessage(window, IDC_ACTIVE_USERS, CLM_GETNEXTITEM, CLGN_ROOT, 0), hItemAll, NULL); } @@ -249,7 +249,7 @@ void DialogConfigActive::InitialiseItem(HWND hwndList, HANDLE hItem, bool messag SendMessage(hwndList, CLM_SETEXTRAIMAGE, (WPARAM)hItem, MAKELPARAM(3, 2)); } -void DialogConfigActive::SetAllContactIcons(HWND hwndList, HWND window) { +void DialogConfigActive::SetAllContactIcons(HWND hwndList) { ConfigDatabase::ActiveUsersMap active_users = m_db.getActiveUsers(); ConfigDatabase::ActiveUsersMap::const_iterator iter; for (iter = active_users.begin(); iter != active_users.end(); ++iter) -- cgit v1.2.3