summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcpaint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/clcpaint.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcpaint.cpp28
1 files changed, 13 insertions, 15 deletions
diff --git a/plugins/Clist_nicer/src/clcpaint.cpp b/plugins/Clist_nicer/src/clcpaint.cpp
index 5c92e82748..7801c0237d 100644
--- a/plugins/Clist_nicer/src/clcpaint.cpp
+++ b/plugins/Clist_nicer/src/clcpaint.cpp
@@ -955,22 +955,20 @@ bgskipped:
}
else iconXSpace = 0;
- if (type == CLCIT_CONTACT && !dat->bisEmbedded) {
+ if (type == CLCIT_CONTACT) {
contact->extraIconRightBegin = 0;
- if (cEntry && (contact->extraCacheEntry >= 0 && contact->extraCacheEntry < cfg::nextCacheEntry)) {
- for (int i = dat->extraColumnsCount-1; i >= 0; i--) {
- if (contact->iExtraImage[i] == EMPTY_EXTRA_ICON)
- continue;
-
- if (contact->extraIconRightBegin == 0)
- contact->extraIconRightBegin = rcContent.right;
-
- rightIcons++;
- ImageList_DrawEx(dat->himlExtraColumns, contact->iExtraImage[i], hdcMem,
- rcContent.right - dat->extraColumnSpacing * rightIcons,
- y + (rowHeight - g_cysmIcon)/2,
- 0, 0, CLR_NONE, CLR_NONE, ILD_NORMAL);
- }
+ for (int i = dat->extraColumnsCount-1; i >= 0; i--) {
+ if (contact->iExtraImage[i] == EMPTY_EXTRA_ICON)
+ continue;
+
+ if (contact->extraIconRightBegin == 0)
+ contact->extraIconRightBegin = rcContent.right;
+
+ rightIcons++;
+ ImageList_DrawEx(dat->himlExtraColumns, contact->iExtraImage[i], hdcMem,
+ rcContent.right - dat->extraColumnSpacing * rightIcons,
+ y + (rowHeight - g_cysmIcon)/2,
+ 0, 0, CLR_NONE, CLR_NONE, ILD_NORMAL);
}
}
}