summaryrefslogtreecommitdiffstats
path: root/library/demos/text.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/text.tcl')
-rw-r--r--library/demos/text.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/text.tcl b/library/demos/text.tcl
index 130a4a5..189cb2d 100644
--- a/library/demos/text.tcl
+++ b/library/demos/text.tcl
@@ -30,11 +30,11 @@ pack $w.text -expand yes -fill both
# TIP 324 Demo: [tk fontchooser]
proc fontchooserToggle {} {
tk fontchooser [expr {[tk fontchooser configure -visible] ?
- "hide" : "show"}]
+ "hide" : "show"}]
}
proc fontchooserVisibility {w} {
$w configure -text [expr {[tk fontchooser configure -visible] ?
- "Hide Font Dialog" : "Show Font Dialog"}]
+ "Hide Font Dialog" : "Show Font Dialog"}]
}
proc fontchooserFocus {w} {
tk fontchooser configure -font [$w cget -font] \