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 /src/core/stdclist | |
| parent | 17b316e3e7bce8ca2f51efdc8824451c4be89b8f (diff) | |
let boolean variables inside ClcGroup be boolean
Diffstat (limited to 'src/core/stdclist')
| -rw-r--r-- | src/core/stdclist/src/clcpaint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdclist/src/clcpaint.cpp b/src/core/stdclist/src/clcpaint.cpp index d2e59b1878..f6cbfbd5a1 100644 --- a/src/core/stdclist/src/clcpaint.cpp +++ b/src/core/stdclist/src/clcpaint.cpp @@ -312,7 +312,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) // icon
if (cc->type == CLCIT_GROUP)
- iImage = cc->group->expanded ? IMAGE_GROUPOPEN : IMAGE_GROUPSHUT;
+ iImage = cc->group->bExpanded ? IMAGE_GROUPOPEN : IMAGE_GROUPSHUT;
else if (cc->type == CLCIT_CONTACT)
iImage = cc->iImage;
@@ -423,7 +423,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) index++;
y += dat->rowHeight;
- if (cc->type == CLCIT_GROUP && cc->group->expanded) {
+ if (cc->type == CLCIT_GROUP && cc->group->bExpanded) {
group = cc->group;
indent++;
group->scanIndex = 0;
|
