summaryrefslogtreecommitdiffstats
path: root/library/demos
diff options
context:
space:
mode:
authordas <das>2006-10-17 05:52:40 (GMT)
committerdas <das>2006-10-17 05:52:40 (GMT)
commitdf7092fbb134cfbb28d68c0deca1a6241df8ca02 (patch)
treea55e6823413c300b4b9c7e09db9b922becc7abb2 /library/demos
parent637ae4c9159b785f8c0494077f49c1e8f54a0c96 (diff)
downloadtk-df7092fbb134cfbb28d68c0deca1a6241df8ca02.zip
tk-df7092fbb134cfbb28d68c0deca1a6241df8ca02.tar.gz
tk-df7092fbb134cfbb28d68c0deca1a6241df8ca02.tar.bz2
* library/demos/pendulum.tcl: fix incorrect setting of toplevel title.
Diffstat (limited to 'library/demos')
-rw-r--r--library/demos/pendulum.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/pendulum.tcl b/library/demos/pendulum.tcl
index cb31b33..b70cbf1 100644
--- a/library/demos/pendulum.tcl
+++ b/library/demos/pendulum.tcl
@@ -3,7 +3,7 @@
# This demonstration illustrates how Tcl/Tk can be used to construct
# simulations of physical systems.
#
-# RCS: @(#) $Id: pendulum.tcl,v 1.2 2004/12/21 11:56:35 dkf Exp $
+# RCS: @(#) $Id: pendulum.tcl,v 1.3 2006/10/17 05:52:40 das Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
@@ -14,7 +14,7 @@ package require Tk
set w .pendulum
catch {destroy $w}
toplevel $w
-wm title . "Pendulum Animation Demonstration"
+wm title $w "Pendulum Animation Demonstration"
wm iconname $w "pendulum"
positionWindow $w