diff options
author | jingham <jingham> | 1999-05-22 06:32:05 (GMT) |
---|---|---|
committer | jingham <jingham> | 1999-05-22 06:32:05 (GMT) |
commit | 87879697e380ae2d912df100241a6a4b85ac01a1 (patch) | |
tree | a77d9e8604d5260d187c18e7fa29939278ab0f32 /mac/tkMacButton.c | |
parent | 36f3e6e9af15906c7d459a8c80ee9f4e995b59f6 (diff) | |
download | tk-87879697e380ae2d912df100241a6a4b85ac01a1.zip tk-87879697e380ae2d912df100241a6a4b85ac01a1.tar.gz tk-87879697e380ae2d912df100241a6a4b85ac01a1.tar.bz2 |
Changes needed to get Tk8.1 to compile with stubs on the Mac
Diffstat (limited to 'mac/tkMacButton.c')
-rw-r--r-- | mac/tkMacButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tkMacButton.c b/mac/tkMacButton.c index cdc609b..54dd92b 100644 --- a/mac/tkMacButton.c +++ b/mac/tkMacButton.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: tkMacButton.c,v 1.5 1999/04/16 01:51:29 stanton Exp $ + * RCS: @(#) $Id: tkMacButton.c,v 1.6 1999/05/22 06:32:26 jingham Exp $ */ #include "tkButton.h" @@ -471,7 +471,7 @@ TkpComputeButtonGeometry( } else { Tk_FreeTextLayout(butPtr->textLayout); butPtr->textLayout = Tk_ComputeTextLayout(butPtr->tkfont, - Tcl_GetString(butPtr->text), -1, butPtr->wrapLength, + Tcl_GetString(butPtr->textPtr), -1, butPtr->wrapLength, butPtr->justify, 0, &butPtr->textWidth, &butPtr->textHeight); width = butPtr->textWidth; |