summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-25 14:40:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-25 14:40:33 (GMT)
commita15e86ba8fe09a9d4dacaddb52626a08ec634cfb (patch)
tree9d0a7e97e4b020dd169873d20aa8bd58b340a033 /generic
parentd8834311aa2654205684f70dd7b9e7e27d98cee0 (diff)
parent081f863e54063f377dae45d88e0386f2a4bb7275 (diff)
downloadtk-a15e86ba8fe09a9d4dacaddb52626a08ec634cfb.zip
tk-a15e86ba8fe09a9d4dacaddb52626a08ec634cfb.tar.gz
tk-a15e86ba8fe09a9d4dacaddb52626a08ec634cfb.tar.bz2
Merge 8.6
Diffstat (limited to 'generic')
-rw-r--r--generic/tkOldConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index 04f2a74..3d58166 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.c
@@ -1001,10 +1001,10 @@ Tk_FreeOptions(
if ((specPtr->specFlags & needFlags) != needFlags) {
continue;
}
- ptr = widgRec + specPtr->offset;
if (specPtr->offset == TCL_INDEX_NONE) {
continue;
}
+ ptr = widgRec + specPtr->offset;
switch (specPtr->type) {
case TK_CONFIG_STRING:
if (*((char **) ptr) != NULL) {