diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2009-10-24 00:12:03 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2009-10-24 00:12:03 (GMT) |
commit | 4d1c4442a91e3d626afa666d996ee0fe66916a4e (patch) | |
tree | e73df86a4ddcc87e6c7b3dd165631037070b225f /unix | |
parent | 228ff6d800f8dc8f28c68bc342468f4b41fe7052 (diff) | |
download | tk-4d1c4442a91e3d626afa666d996ee0fe66916a4e.zip tk-4d1c4442a91e3d626afa666d996ee0fe66916a4e.tar.gz tk-4d1c4442a91e3d626afa666d996ee0fe66916a4e.tar.bz2 |
[Patch 1530276]: Improve no-indicator check/radio buttons on Unix.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixButton.c | 6 |
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; } |