summaryrefslogtreecommitdiffstats
path: root/library/fontchooser.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-01-09 20:24:46 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-01-09 20:24:46 (GMT)
commit175ed2e611ad1a1decdecb5d4275d97ff0ef7302 (patch)
tree2e12e1161ab632e77c0fa28183f122f05007ea69 /library/fontchooser.tcl
parent796153854a408474f0c7ace12556e8b6968ce7cd (diff)
downloadtk-175ed2e611ad1a1decdecb5d4275d97ff0ef7302.zip
tk-175ed2e611ad1a1decdecb5d4275d97ff0ef7302.tar.gz
tk-175ed2e611ad1a1decdecb5d4275d97ff0ef7302.tar.bz2
Oops. Fix my fix in the previous commit.
Diffstat (limited to 'library/fontchooser.tcl')
-rw-r--r--library/fontchooser.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/fontchooser.tcl b/library/fontchooser.tcl
index 16bb462..3e35fda 100644
--- a/library/fontchooser.tcl
+++ b/library/fontchooser.tcl
@@ -398,7 +398,7 @@ proc ::tk::fontchooser::actual {defaultFont} {
set F(-family) [lindex $defaultFont 0]
set F(-size) [lindex $defaultFont 1]
foreach el [lrange $defaultFont 2 end] {
- switch -exact $el -- {
+ switch -exact -- $el {
normal -
bold {
set F(-weight) $el