summaryrefslogtreecommitdiffstats
path: root/library/demos/square
diff options
context:
space:
mode:
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.