diff options
Diffstat (limited to 'library/demos/square')
-rw-r--r-- | library/demos/square | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/square b/library/demos/square index 1d7eb20..6ce91b8 100644 --- a/library/demos/square +++ b/library/demos/square @@ -27,7 +27,7 @@ focus .s proc center {x y} { set a [.s size] - .s position [expr $x-($a/2)] [expr $y-($a/2)] + .s position [expr {$x-($a/2)}] [expr {$y-($a/2)}] } # The procedures below provide a simple form of animation where |