diff options
author | dgp <dgp@users.sourceforge.net> | 2014-10-30 15:16:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-10-30 15:16:37 (GMT) |
commit | 277e4c03ced86ddf627807595297854fac523c9a (patch) | |
tree | 96d54249d6fe3ce0e844f00f245ec68bd1bc653a /macosx | |
parent | 90f1bb2871f27fb60b636b4b70b9b6e5f9dc3eda (diff) | |
parent | 69a9c784d764e95b1b34c1b37d7a7df4a4c90647 (diff) | |
download | tk-277e4c03ced86ddf627807595297854fac523c9a.zip tk-277e4c03ced86ddf627807595297854fac523c9a.tar.gz tk-277e4c03ced86ddf627807595297854fac523c9a.tar.bz2 |
[3417012] Stop [scale] segfault when -digits too big.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXScale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXScale.c b/macosx/tkMacOSXScale.c index e94763d..a37029c 100644 --- a/macosx/tkMacOSXScale.c +++ b/macosx/tkMacOSXScale.c @@ -145,7 +145,7 @@ TkpDisplayScale( Tk_Window tkwin = scalePtr->tkwin; Tcl_Interp *interp = scalePtr->interp; int result; - char string[PRINT_CHARS]; + char string[TCL_DOUBLE_SPACE]; MacScale *macScalePtr = (MacScale *) clientData; Rect r; WindowRef windowRef; |