summaryrefslogtreecommitdiffstats
path: root/generic/tkOption.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-20 22:03:33 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-20 22:03:33 (GMT)
commit0989351720de4497b2d144d34f6fe121670b6ba3 (patch)
tree530692b4b7fa24dc82f9bf2fd812df36641b1554 /generic/tkOption.c
parent3440b8fdc7ec17dc6b8b8bc5eb5407fabd3c7cad (diff)
downloadtk-0989351720de4497b2d144d34f6fe121670b6ba3.zip
tk-0989351720de4497b2d144d34f6fe121670b6ba3.tar.gz
tk-0989351720de4497b2d144d34f6fe121670b6ba3.tar.bz2
Fixed bug [9e606527af] - && instead of & used in generic/tkOption.c
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r--generic/tkOption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOption.c b/generic/tkOption.c
index d758b6f..680c9db 100644
--- a/generic/tkOption.c
+++ b/generic/tkOption.c
@@ -560,7 +560,7 @@ Tk_GetOption(
count -= levelPtr[-1].bases[currentStack];
}
- if (currentStack && CLASS) {
+ if (currentStack & CLASS) {
nodeId = winClassId;
} else {
nodeId = winNameId;