diff options
author | dgp <dgp@users.sourceforge.net> | 2014-10-30 15:26:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-10-30 15:26:42 (GMT) |
commit | 56e5cece3f50562969449e4357e5dc1cf3907c1a (patch) | |
tree | c02cfebbe3bcc52d1170176fc41c1f6b977ed2ac /macosx/tkMacOSXScale.c | |
parent | 2de899be4f282336d57ace6810563233c87b13d6 (diff) | |
parent | 277e4c03ced86ddf627807595297854fac523c9a (diff) | |
download | tk-56e5cece3f50562969449e4357e5dc1cf3907c1a.zip tk-56e5cece3f50562969449e4357e5dc1cf3907c1a.tar.gz tk-56e5cece3f50562969449e4357e5dc1cf3907c1a.tar.bz2 |
[3417012] Stop [scale] segfault when -digits too big. Thanks fvogel.
Diffstat (limited to 'macosx/tkMacOSXScale.c')
-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 0bca521..c5a6f76 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; |