summaryrefslogtreecommitdiffstats
path: root/mac/tkMacMenubutton.c
diff options
context:
space:
mode:
authorjingham <jingham>1999-05-22 06:33:38 (GMT)
committerjingham <jingham>1999-05-22 06:33:38 (GMT)
commiteb02b7f4b5f03cf0252e0733efdebf890095f57c (patch)
tree08690563c402052345246f896205236bfc84d20f /mac/tkMacMenubutton.c
parent49264adc083f7766a5ff40538126526a6a8880c0 (diff)
downloadtk-eb02b7f4b5f03cf0252e0733efdebf890095f57c.zip
tk-eb02b7f4b5f03cf0252e0733efdebf890095f57c.tar.gz
tk-eb02b7f4b5f03cf0252e0733efdebf890095f57c.tar.bz2
Changes needed to get Tk8.1 to compile with stubs on the Mac
Diffstat (limited to 'mac/tkMacMenubutton.c')
-rw-r--r--mac/tkMacMenubutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mac/tkMacMenubutton.c b/mac/tkMacMenubutton.c
index 7c169fe..830be01 100644
--- a/mac/tkMacMenubutton.c
+++ b/mac/tkMacMenubutton.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacMenubutton.c,v 1.3 1999/04/16 01:51:31 stanton Exp $
+ * RCS: @(#) $Id: tkMacMenubutton.c,v 1.4 1999/05/22 06:33:38 jingham Exp $
*/
#include "tkMenubutton.h"
@@ -163,8 +163,8 @@ TkpDisplayMenuButton(
* foreground color, generate the stippled effect.
*/
- if (mbPtr->state == STATE_DISABLED && mbPtr->disabledFg != NULL) {
- || (mbPtr->image != NULL))) {
+ if ((mbPtr->state == STATE_DISABLED && mbPtr->disabledFg != NULL)
+ || (mbPtr->image != NULL)) {
XFillRectangle(mbPtr->display, Tk_WindowId(tkwin),
mbPtr->disabledGC, mbPtr->inset, mbPtr->inset,
(unsigned) (Tk_Width(tkwin) - 2*mbPtr->inset),