summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixButton.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-10-24 00:12:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-10-24 00:12:03 (GMT)
commit9d6f717c60ba54bfeeb329910908430f59bc7813 (patch)
treee73df86a4ddcc87e6c7b3dd165631037070b225f /unix/tkUnixButton.c
parent69946bf0eb9ab14912c18295b25eec8c49a37d01 (diff)
downloadtk-9d6f717c60ba54bfeeb329910908430f59bc7813.zip
tk-9d6f717c60ba54bfeeb329910908430f59bc7813.tar.gz
tk-9d6f717c60ba54bfeeb329910908430f59bc7813.tar.bz2
[Patch 1530276]: Improve no-indicator check/radio buttons on Unix.
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r--unix/tkUnixButton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c
index b8be6b3..0ca30f2 100644
--- a/unix/tkUnixButton.c
+++ b/unix/tkUnixButton.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixButton.c,v 1.25 2007/12/13 15:28:50 dgp Exp $
+ * RCS: @(#) $Id: tkUnixButton.c,v 1.25.2.1 2009/10/24 00:12:03 dkf Exp $
*/
#include "tkInt.h"
@@ -389,8 +389,8 @@ TkpDisplayButton(
} else {
gc = butPtr->normalTextGC;
}
- if ((butPtr->flags & SELECTED) && (butPtr->state != STATE_ACTIVE)
- && (butPtr->selectBorder != NULL) && !butPtr->indicatorOn) {
+ if ((butPtr->flags & SELECTED) && (butPtr->selectBorder != NULL)
+ && !butPtr->indicatorOn) {
border = butPtr->selectBorder;
}