diff options
-rw-r--r-- | generic/tkOption.c | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | tests/winDialog.test | 0 |
2 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; diff --git a/tests/winDialog.test b/tests/winDialog.test index c8c36bf..c8c36bf 100644..100755 --- a/tests/winDialog.test +++ b/tests/winDialog.test |