mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[SETUP:REACTOS] Fix identical expression in treelist.c
Supersedes PRs #3226 and #5199 by Kyle_Katarn. CORE-16036
This commit is contained in:
parent
63d5423853
commit
bb7661312e
|
@ -4928,7 +4928,7 @@ static int TreeListSetItem(TreeListData *pData, const TV_ITEM *pItem) {
|
|||
}
|
||||
|
||||
if((uBits & TVIS_EXPANDED) && pEntry->uFirstChild) { // Sollen Teile auf/zugeklappt werden
|
||||
uMask &= TVIS_EXPANDPARTIAL | TVIS_EXPANDPARTIAL;
|
||||
uMask &= TVIS_EXPANDED | TVIS_EXPANDPARTIAL;
|
||||
pEntry->uState ^= TVIS_EXPANDED;
|
||||
pEntry->uState ^= uBits & uMask;
|
||||
iVal = uMask & pItem->state;
|
||||
|
|
Loading…
Reference in a new issue