diff options
author | Guido van Rossum <guido@python.org> | 1997-08-22 20:56:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-22 20:56:07 (GMT) |
commit | 21c5c8fa5b205e5106360811964a67141852d428 (patch) | |
tree | 8d42a934aa026a4db54538b34960c2230a334f4f /Demo/tkinter/guido/hanoi.py | |
parent | d14c06819ed92f4b819529f90b3377cf2caad3f1 (diff) | |
download | cpython-21c5c8fa5b205e5106360811964a67141852d428.zip cpython-21c5c8fa5b205e5106360811964a67141852d428.tar.gz cpython-21c5c8fa5b205e5106360811964a67141852d428.tar.bz2 |
Correct off-by-two-pixels error.
Diffstat (limited to 'Demo/tkinter/guido/hanoi.py')
-rwxr-xr-x | Demo/tkinter/guido/hanoi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/hanoi.py b/Demo/tkinter/guido/hanoi.py index 2cc4134..9e566c4 100755 --- a/Demo/tkinter/guido/hanoi.py +++ b/Demo/tkinter/guido/hanoi.py @@ -111,7 +111,7 @@ class Tkhanoi: self.tk.update() # Move it down on top of the previous piece - pieceheight = y2-y1-2 + pieceheight = y2-y1 newbottom = by2 - pieceheight*len(self.pegstate[b]) - 2 while 1: x1, y1, x2, y2 = c.bbox(p) |