From 21c5c8fa5b205e5106360811964a67141852d428 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Fri, 22 Aug 1997 20:56:07 +0000
Subject: Correct off-by-two-pixels error.

---
 Demo/tkinter/guido/hanoi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
cgit v0.12

