summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-04-30 16:16:38 (GMT)
committerhobbs <hobbs>2003-04-30 16:16:38 (GMT)
commit5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51 (patch)
tree6090afdcd1c010ec83252a248afa6782c13f41a9 /macosx/tkMacOSXButton.c
parent8fe2867a148cb06c060d7c663b90eb79a41895bf (diff)
downloadtk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.zip
tk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.tar.gz
tk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.tar.bz2
* macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for
stippleGC [Bug #730124].
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r--macosx/tkMacOSXButton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index deddfa6..d14cfc2 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.3 2003/04/26 02:59:20 hobbs Exp $
+ * RCS: @(#) $Id: tkMacOSXButton.c,v 1.4 2003/04/30 16:16:39 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);
}
}