summaryrefslogtreecommitdiffstats
path: root/generic/tkConfig.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-08-10 13:23:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-08-10 13:23:18 (GMT)
commit1882cd3147cc66494b287d05ef59262b889525fc (patch)
tree1fa7dca63048e53d7c3254c1ae42981ec7406c6a /generic/tkConfig.c
parent7d7b549619c459b43235329d1eafcff775e2828e (diff)
downloadtk-1882cd3147cc66494b287d05ef59262b889525fc.zip
tk-1882cd3147cc66494b287d05ef59262b889525fc.tar.gz
tk-1882cd3147cc66494b287d05ef59262b889525fc.tar.bz2
Fix [2db2bed787403893c82f7a6690a2f583d821a6c6|2db2bed787]: test clrpick-3.1, 3.2, 4.1 hang, demand interaction. Caused by previous commit. Thanks, Don, for noticing this!
Diffstat (limited to 'generic/tkConfig.c')
-rw-r--r--generic/tkConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c
index 53a9612..795a8e8 100644
--- a/generic/tkConfig.c
+++ b/generic/tkConfig.c
@@ -940,7 +940,7 @@ ObjectIsEmpty(
if (objPtr == NULL) {
return 1;
}
- if (objPtr->bytes != NULL) {
+ if (objPtr->bytes == NULL) {
Tcl_GetString(objPtr);
}
return (objPtr->length == 0);