summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl')
-rw-r--r--Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl b/Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl
index a2781c69bd1..bf4ccd09ee8 100644
--- a/Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl
+++ b/Master/tlpkg/tltcl/lib/tk8.6/ttk/fonts.tcl
@@ -82,7 +82,7 @@ switch -- [tk windowingsystem] {
set F(family) "MS Sans Serif"
}
} else {
- if {[lsearch -exact [font families] Tahoma] != -1} {
+ if {[lsearch -exact [font families] Tahoma] >= 0} {
set F(family) "Tahoma"
} else {
set F(family) "MS Sans Serif"