summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 07:57:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 07:57:20 (GMT)
commitc1d50f8302f80ab1939467c61bea379dd6035b1d (patch)
tree8f3c70c5dbf1d316e82522e520a455c6c902dd81 /library/console.tcl
parent78780eac5b472e24d78dd946ca88ec4dc6ddbef5 (diff)
parent3b31d9630f305b2f6b73e57e147541bc13aa1057 (diff)
downloadtk-c1d50f8302f80ab1939467c61bea379dd6035b1d.zip
tk-c1d50f8302f80ab1939467c61bea379dd6035b1d.tar.gz
tk-c1d50f8302f80ab1939467c61bea379dd6035b1d.tar.bz2
Merge 8.6
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/console.tcl b/library/console.tcl
index b98689f..7ef1eb8 100644
--- a/library/console.tcl
+++ b/library/console.tcl
@@ -131,7 +131,7 @@ proc ::tk::ConsoleInit {} {
default { set preferred {} }
}
foreach {family size} $preferred {
- if {[lsearch -exact $families $family] != -1} {
+ if {$family in $families} {
font configure TkConsoleFont -family $family -size $size
break
}