summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-11-07 14:23:32 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-11-07 14:23:32 (GMT)
commit3f64c6447ff2c7643a519ba4c719f900f0d125e4 (patch)
tree0de72c99a6495d3dadd2dc7b89c2239027dcd61d /unix
parent43ae51962fff8dc85aab5b599a40226e067a4d68 (diff)
parentdc3ef91e2fe6fcb7dce8535d0493ded858a01c7d (diff)
downloadtk-3f64c6447ff2c7643a519ba4c719f900f0d125e4.zip
tk-3f64c6447ff2c7643a519ba4c719f900f0d125e4.tar.gz
tk-3f64c6447ff2c7643a519ba4c719f900f0d125e4.tar.bz2
merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixScale.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tkUnixScale.c b/unix/tkUnixScale.c
index cc33a27..c348037 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;
Tcl_DString buf;