diff options
author | Guillaume Seguin <guillaume@segu.in> | 2007-10-06 13:14:35 +0200 |
---|---|---|
committer | Guillaume Seguin <guillaume@segu.in> | 2007-10-06 13:14:35 +0200 |
commit | 4408ec1af269a05ee354fa25780b27c1214f0291 (patch) | |
tree | ffb356cdf7afcab25efe6fc1e218af761035f67f | |
parent | e9ae7a6f188651e49f2aa97f89bf6379d669e0fc (diff) | |
download | tictactoe-4408ec1af269a05ee354fa25780b27c1214f0291.tar.gz tictactoe-4408ec1af269a05ee354fa25780b27c1214f0291.tar.bz2 |
* Minor bugfix
-rwxr-xr-x | tictactoe.py | 1 |
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) |