diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-10 12:02:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-10 12:02:17 (GMT) |
commit | fdc1bcf721aa672b0170af25adfe16a7650aab44 (patch) | |
tree | 2a417191d97b2ab352b4c631de37181ea18da9c2 /generic | |
parent | 78e3e645e087d6981615429ced74005fcaa89957 (diff) | |
download | tcl-fdc1bcf721aa672b0170af25adfe16a7650aab44.zip tcl-fdc1bcf721aa672b0170af25adfe16a7650aab44.tar.gz tcl-fdc1bcf721aa672b0170af25adfe16a7650aab44.tar.bz2 |
Tcl_NewBooleanObj() is better here than Tcl_NewIntObj
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclMain.c | 2 |
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. |