From a7f8053e5ee92513785159e7136bfd60960d451c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 13 May 2008 14:26:52 +0000 Subject: [PATCH] fix coordinate convertion in tictactoe --- src/tictactoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tictactoe.py b/src/tictactoe.py index 716f5dcd2..47db0ebf4 100644 --- a/src/tictactoe.py +++ b/src/tictactoe.py @@ -327,7 +327,7 @@ class TicTacToeBoard: if not self.session.is_my_turn(): return - (height, width) = widget.get_size() + (width, height) = widget.get_size() # convert click co-ordinates to row and column