summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-01-15 17:18:10 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-01-15 17:18:10 (GMT)
commit497e9c2d5d89e17623d8e554093ad7e2ab8bb33b (patch)
tree3c2c896fb9fe907582ccadf3be17be4cc255dd7f /tests
parent470b18932fcf80ea1ea043e9016dd1fc3b54d209 (diff)
parent7be548eb7a7c1d61663e7c69d7e19c0feee73e8f (diff)
downloadtk-497e9c2d5d89e17623d8e554093ad7e2ab8bb33b.zip
tk-497e9c2d5d89e17623d8e554093ad7e2ab8bb33b.tar.gz
tk-497e9c2d5d89e17623d8e554093ad7e2ab8bb33b.tar.bz2
More flexible search for win32 tclConfig.sh, backported from TEA.
Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
Diffstat (limited to 'tests')
-rw-r--r--tests/font.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/font.test b/tests/font.test
index dff9fc9..33986af 100644
--- a/tests/font.test
+++ b/tests/font.test
@@ -19,10 +19,9 @@ toplevel .t
wm geom .t +0+0
update idletasks
-case [tk windowingsystem] {
+switch [tk windowingsystem] {
x11 {set fixed "fixed"}
win32 {set fixed "courier 12"}
- classic -
aqua {set fixed "monaco 9"}
}