From 513919cbad4d351c94c5bf05908de070e5627385 Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 30 Apr 2003 16:18:58 +0000 Subject: * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for stippleGC [Bug #730124]. --- ChangeLog | 5 +++++ macosx/tkMacOSXButton.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b9e0057..21a7b87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Jeff Hobbs + + * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for + stippleGC [Bug #730124]. + 2003-04-25 Jeff Hobbs * generic/tkButton.h: Rewrote the handling diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 6bd99d9..2366e01 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2.2.1 2003/04/26 02:53:47 hobbs Exp $ + * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2.2.2 2003/04/30 16:19:07 hobbs Exp $ */ #include "tkButton.h" @@ -465,7 +465,7 @@ TkpDisplayButton( && ((butPtr->disabledFg == NULL) || (butPtr->image != NULL))) { if ((butPtr->flags & SELECTED) && !butPtr->indicatorOn && (butPtr->selectBorder != NULL)) { - XSetForeground(butPtr->display, butPtr->stippledGC, + XSetForeground(butPtr->display, butPtr->stippleGC, Tk_3DBorderColor(butPtr->selectBorder)->pixel); } /* @@ -483,7 +483,7 @@ TkpDisplayButton( } if ((butPtr->flags & SELECTED) && !butPtr->indicatorOn && (butPtr->selectBorder != NULL)) { - XSetForeground(butPtr->display, butPtr->stippledGC, + XSetForeground(butPtr->display, butPtr->stippleGC, Tk_3DBorderColor(butPtr->normalBorder)->pixel); } } -- cgit v0.12