[gnome-games] gnibbles: fix non-square board size
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnibbles: fix non-square board size
- Date: Mon, 3 Jan 2011 17:58:56 +0000 (UTC)
commit 9b5f96cb8ba2eb50c74d1608d285246717dfb589
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Mon Jan 3 18:58:48 2011 +0100
gnibbles: fix non-square board size
gnibbles/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index cc2c38d..37851cd 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -245,7 +245,7 @@ configure_event_cb (GtkWidget *widget, GdkEventConfigure *event, gpointer data)
clutter_actor_set_size (CLUTTER_ACTOR (stage),
BOARDWIDTH * tilesize,
- BOARDWIDTH * tilesize);
+ BOARDHEIGHT * tilesize);
if (game_running ()) {
if (board) {
gnibbles_board_rescale (board, tilesize);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]