summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcmsgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-10 17:27:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-10 17:27:44 +0000
commit0558746230c69a040bb9423fbefe64ccfcfa0590 (patch)
treedbfd57ede0d993d1cff5fc8da7832c9f592648f0 /plugins/Clist_modern/src/modern_clcmsgs.cpp
parent7bd7e366fb86d1aeba7b07c30b77a9c2c67cd9f5 (diff)
- unused icons removed;
- spaces replaced with tabs git-svn-id: http://svn.miranda-ng.org/main/trunk@2276 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcmsgs.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcmsgs.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_clcmsgs.cpp b/plugins/Clist_modern/src/modern_clcmsgs.cpp
index d5845db2e8..0750060243 100644
--- a/plugins/Clist_modern/src/modern_clcmsgs.cpp
+++ b/plugins/Clist_modern/src/modern_clcmsgs.cpp
@@ -187,13 +187,11 @@ LRESULT cli_ProcessExternalMessages(HWND hwnd,struct ClcData *dat,UINT msg,WPARA
for (tgroup = group; tgroup; tgroup = tgroup->parent)
pcli->pfnSetGroupExpand(hwnd, dat, tgroup, 1);
- if ( !contact->isSubcontact)
- {
+ if ( !contact->isSubcontact) {
index = List_IndexOf((SortedList*)&group->cl,contact);
mainindex = index;
}
- else
- {
+ else {
index = List_IndexOf((SortedList*)&group->cl,contact->subcontacts);
mainindex = index;
index += contact->isSubcontact;