diff options
author | dgp@users.sourceforge.net <dgp> | 2014-10-30 15:07:28 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2014-10-30 15:07:28 (GMT) |
commit | e55b5797eaf19e9c23b999553771435fd01995f0 (patch) | |
tree | 97cba1d1c56bc378ff029f5ea6dee5873ae07dbf /unix | |
parent | b3572fe2ab39222de1300695c75434ae5480d3a6 (diff) | |
download | tk-e55b5797eaf19e9c23b999553771435fd01995f0.zip tk-e55b5797eaf19e9c23b999553771435fd01995f0.tar.gz tk-e55b5797eaf19e9c23b999553771435fd01995f0.tar.bz2 |
Pushing the fix out to more files.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixScale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tkUnixScale.c b/unix/tkUnixScale.c index e158549..71f9ea8 100644 --- a/unix/tkUnixScale.c +++ b/unix/tkUnixScale.c @@ -262,7 +262,7 @@ DisplayVerticalValue( { register Tk_Window tkwin = scalePtr->tkwin; int y, width, length; - char valueString[PRINT_CHARS]; + char valueString[TCL_DOUBLE_SPACE]; Tk_FontMetrics fm; Tk_GetFontMetrics(scalePtr->tkfont, &fm); @@ -341,7 +341,7 @@ DisplayHorizontalScale( */ if (tickInterval != 0) { - char valueString[PRINT_CHARS]; + char valueString[TCL_DOUBLE_SPACE]; double ticks, maxTicks; /* @@ -478,7 +478,7 @@ DisplayHorizontalValue( { register Tk_Window tkwin = scalePtr->tkwin; int x, y, length, width; - char valueString[PRINT_CHARS]; + char valueString[TCL_DOUBLE_SPACE]; Tk_FontMetrics fm; x = TkScaleValueToPixel(scalePtr, value); @@ -535,7 +535,7 @@ TkpDisplayScale( Tcl_Interp *interp = scalePtr->interp; Pixmap pixmap; int result; - char string[PRINT_CHARS]; + char string[TCL_DOUBLE_SPACE]; XRectangle drawnArea; scalePtr->flags &= ~REDRAW_PENDING; |