summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-27 14:41:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-27 14:41:38 (GMT)
commit20861a65f1bf91a3a1f84b597318e96cb62f253c (patch)
treee93bd9436c68a7a3abd2684357e773aa29697694 /generic/tkTest.c
parent39e505e32599e4cdb59d8a8f9949615cb2480d4e (diff)
parent21c7efa254e5c4c6e5a552410771994a2c18197c (diff)
downloadtk-20861a65f1bf91a3a1f84b597318e96cb62f253c.zip
tk-20861a65f1bf91a3a1f84b597318e96cb62f253c.tar.gz
tk-20861a65f1bf91a3a1f84b597318e96cb62f253c.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 7acfcb2..5bdf24e 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -813,7 +813,7 @@ TestobjconfigObjCmd(
typedef struct {
TrivialCommandHeader header;
- int boolean;
+ int boolValue;
int integer;
double doubleValue;
char *string;
@@ -837,7 +837,7 @@ TestobjconfigObjCmd(
};
static const Tk_OptionSpec internalSpecs[] = {
{TK_OPTION_BOOLEAN, "-boolean", "boolean", "Boolean", "1",
- TCL_INDEX_NONE, offsetof(InternalRecord, boolean), TK_CONFIG_NULL_OK, 0, 0x1},
+ TCL_INDEX_NONE, offsetof(InternalRecord, boolValue), TK_CONFIG_NULL_OK, 0, 0x1},
{TK_OPTION_INT, "-integer", "integer", "Integer", "148962237",
TCL_INDEX_NONE, offsetof(InternalRecord, integer), 0, 0, 0x2},
{TK_OPTION_DOUBLE, "-double", "double", "Double", "3.14159",
@@ -901,7 +901,7 @@ TestobjconfigObjCmd(
recordPtr->header.interp = interp;
recordPtr->header.optionTable = optionTable;
recordPtr->header.tkwin = tkwin;
- recordPtr->boolean = 0;
+ recordPtr->boolValue = 0;
recordPtr->integer = 0;
recordPtr->doubleValue = 0.0;
recordPtr->string = NULL;