diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-23 21:08:23 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-23 21:08:23 +0300 |
commit | 97846e5e80ca89b0307d740e71cd488895ac42c6 (patch) | |
tree | fc48e0f23fa9062a29fff6414210e21f6077dac9 /plugins/Clist_nicer/src/clcpaint.cpp | |
parent | 17b316e3e7bce8ca2f51efdc8824451c4be89b8f (diff) |
let boolean variables inside ClcGroup be boolean
Diffstat (limited to 'plugins/Clist_nicer/src/clcpaint.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clcpaint.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clcpaint.cpp b/plugins/Clist_nicer/src/clcpaint.cpp index e7f49f900c..71d811fe6c 100644 --- a/plugins/Clist_nicer/src/clcpaint.cpp +++ b/plugins/Clist_nicer/src/clcpaint.cpp @@ -718,7 +718,7 @@ set_bg_l: oldGroupColor = SetTextColor(hdcMem, sempty->TEXTCOLOR);
}
}
- else if (contact->group->expanded) {
+ else if (contact->group->bExpanded) {
if (!sexpanded->IGNORED) {
rc.left = sexpanded->MARGIN_LEFT + bg_indent_l;
rc.top = y + sexpanded->MARGIN_TOP;
@@ -815,7 +815,7 @@ bgskipped: int iImage;
if (type == CLCIT_GROUP)
- iImage = (contact->group->expanded) ? IMAGE_GROUPOPEN : IMAGE_GROUPSHUT;
+ iImage = (contact->group->bExpanded) ? IMAGE_GROUPOPEN : IMAGE_GROUPSHUT;
else if (type == CLCIT_CONTACT)
iImage = contact->iImage;
else
@@ -1374,7 +1374,7 @@ bgdone: if (cc->cFlags & ECF_AVATAR)
g_list_avatars++;
- if (cc->type == CLCIT_GROUP && (cc->group->expanded)) {
+ if (cc->type == CLCIT_GROUP && cc->group->bExpanded) {
group = cc->group;
group->scanIndex = 0;
continue;
@@ -1409,7 +1409,7 @@ bgdone: }
index++;
y += dat->row_heights[line_num];
- if (cc->type == CLCIT_GROUP && (cc->group->expanded)) {
+ if (cc->type == CLCIT_GROUP && cc->group->bExpanded) {
group = cc->group;
indent++;
group->scanIndex = 0;
|