summaryrefslogtreecommitdiffstats
path: root/library/demos/timer
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
committernijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
commit5a34c96d286d804fdd67a94c1d475b9188ec469d (patch)
tree4d3b5904b3621febb5d5ea054f7a8d14441683e3 /library/demos/timer
parent6e45c77b9e39f3821b86a7d767a179e1f8275984 (diff)
downloadtk-5a34c96d286d804fdd67a94c1d475b9188ec469d.zip
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.gz
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.bz2
bring doc and demos in line with http://wiki.tcl.tk/812
Diffstat (limited to 'library/demos/timer')
-rw-r--r--library/demos/timer4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/timer b/library/demos/timer
index 99e6f4c..b4ed74a 100644
--- a/library/demos/timer
+++ b/library/demos/timer
@@ -1,11 +1,11 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# timer --
# This script generates a counter with start and stop buttons.
#
-# RCS: @(#) $Id: timer,v 1.4 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: timer,v 1.5 2009/03/25 23:27:12 nijtmans Exp $
package require Tcl 8.4
package require Tk