summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-01 14:30:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-01 14:30:07 (GMT)
commit36cc0029458ead72be711c8c402f55a4fd26edd3 (patch)
tree9d78414244a27069e5362313cf542baba8dfefb1 /generic/tkPanedWindow.c
parentc122ab6dc1e84c1b07be22f6b1b3983df7268a68 (diff)
parent5f84e8bb5604b44e2682c85e6bf8724deb5c3257 (diff)
downloadtk-36cc0029458ead72be711c8c402f55a4fd26edd3.zip
tk-36cc0029458ead72be711c8c402f55a4fd26edd3.tar.gz
tk-36cc0029458ead72be711c8c402f55a4fd26edd3.tar.bz2
Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr everywhere.
Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
Diffstat (limited to 'generic/tkPanedWindow.c')
-rw-r--r--generic/tkPanedWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index eb92aae..733610e 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -2905,7 +2905,7 @@ ObjectIsEmpty(
if (objPtr->bytes != NULL) {
return (objPtr->length == 0);
}
- Tcl_GetStringFromObj(objPtr, &length);
+ (void)Tcl_GetStringFromObj(objPtr, &length);
return (length == 0);
}