summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-10-06 13:14:35 +0200
committerGuillaume Seguin <guillaume@segu.in>2007-10-06 13:14:35 +0200
commit4408ec1af269a05ee354fa25780b27c1214f0291 (patch)
treeffb356cdf7afcab25efe6fc1e218af761035f67f
parente9ae7a6f188651e49f2aa97f89bf6379d669e0fc (diff)
downloadtictactoe-4408ec1af269a05ee354fa25780b27c1214f0291.tar.gz
tictactoe-4408ec1af269a05ee354fa25780b27c1214f0291.tar.bz2
* Minor bugfix
-rwxr-xr-xtictactoe.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tictactoe.py b/tictactoe.py
index b278518..b5251ea 100755
--- a/tictactoe.py
+++ b/tictactoe.py
@@ -223,6 +223,7 @@ class gtkTicTacToe (gtk.DrawingArea):
'''Check if the cursor clicked an interesting area'''
if self._finished:
self.new_game ()
+ return
alloc = self.get_allocation ()
side = min (alloc.width, alloc.height)
cell_side = int (float (side) / 3)