summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-11-07 14:23:32 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-11-07 14:23:32 (GMT)
commit640ca4ad25d6efe409faf5551bbb2f4102011e62 (patch)
tree0de72c99a6495d3dadd2dc7b89c2239027dcd61d /unix
parent0788f6fc1ac0b467bdc3e53a74ba66de5da2278f (diff)
parent054420d1e3b71ea9d657396bb42d92472b0d7e88 (diff)
downloadtk-640ca4ad25d6efe409faf5551bbb2f4102011e62.zip
tk-640ca4ad25d6efe409faf5551bbb2f4102011e62.tar.gz
tk-640ca4ad25d6efe409faf5551bbb2f4102011e62.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;