https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bb7661312e25bc3aa59e3…
commit bb7661312e25bc3aa59e33c1c65b0a054c93802c
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Fri Oct 13 17:08:49 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Dec 17 20:58:32 2023 +0100
[SETUP:REACTOS] Fix identical expression in treelist.c
Supersedes PRs #3226 and #5199 by Kyle_Katarn.
CORE-16036
---
base/setup/reactos/treelist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/setup/reactos/treelist.c b/base/setup/reactos/treelist.c
index d39924e0c09..27697b81151 100644
--- a/base/setup/reactos/treelist.c
+++ b/base/setup/reactos/treelist.c
@@ -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;