diff options
author | chengyemao <chengyemao> | 2005-01-09 17:46:49 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2005-01-09 17:46:49 (GMT) |
commit | 0569089257cdf966e101b570a13bfe6626589e7e (patch) | |
tree | d187a2ac7bedccc12df0460bb73f7fd8c379225a /generic | |
parent | ea884d3aeac7e1fcc7d05dce856c5e77ed1f58a4 (diff) | |
download | tk-0569089257cdf966e101b570a13bfe6626589e7e.zip tk-0569089257cdf966e101b570a13bfe6626589e7e.tar.gz tk-0569089257cdf966e101b570a13bfe6626589e7e.tar.bz2 |
bug fix [1098779]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkPack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c index b7747cb..4519462 100644 --- a/generic/tkPack.c +++ b/generic/tkPack.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkPack.c,v 1.19 2004/01/13 02:06:00 davygrvy Exp $ + * RCS: @(#) $Id: tkPack.c,v 1.20 2005/01/09 17:46:49 chengyemao Exp $ */ #include "tkPort.h" @@ -1080,6 +1080,7 @@ TkParsePadAmount(interp, tkwin, specObj, halfPtr, allPtr) int firstInt, secondInt; /* The two components of the padding */ char *padSpec = Tcl_GetString(specObj); + while(*padSpec && isspace(UCHAR(*padSpec))) padSpec++; for (secondPart=padSpec; (*secondPart != '\0') && !isspace(UCHAR(*secondPart)); secondPart++) |