summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-10 12:02:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-10 12:02:17 (GMT)
commitc6410375c4529e798dfdef177ee755680007fe58 (patch)
tree2a417191d97b2ab352b4c631de37181ea18da9c2 /generic/tclMain.c
parent3133b4111d1ee2d9531dc3a9a1242124401d0883 (diff)
downloadtcl-c6410375c4529e798dfdef177ee755680007fe58.zip
tcl-c6410375c4529e798dfdef177ee755680007fe58.tar.gz
tcl-c6410375c4529e798dfdef177ee755680007fe58.tar.bz2
Tcl_NewBooleanObj() is better here than Tcl_NewIntObj
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 3e89664..4f31924 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -361,7 +361,7 @@ Tcl_MainEx(
is.tty = isatty(0);
Tcl_SetVar2Ex(interp, "tcl_interactive", NULL,
- Tcl_NewIntObj(!path && is.tty), TCL_GLOBAL_ONLY);
+ Tcl_NewBooleanObj(!path && is.tty), TCL_GLOBAL_ONLY);
/*
* Invoke application-specific initialization.