summaryrefslogtreecommitdiffstats
path: root/library/demos/square
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/square
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/square')
-rw-r--r--library/demos/square4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/square b/library/demos/square
index 743148d..8bcb5a7 100644
--- a/library/demos/square
+++ b/library/demos/square
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# square --
# This script generates a demo application containing only a "square"
@@ -11,7 +11,7 @@ exec wish "$0" "$@"
# Button-1 press/drag: moves square to mouse
# "a": toggle size animation on/off
#
-# RCS: @(#) $Id: square,v 1.3 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: square,v 1.4 2009/03/25 23:27:13 nijtmans Exp $
package require Tk ;# We use Tk generally, and...
package require Tktest ;# ... we use the square widget too.