[gnome-games] iagno: Fix error showing wrong tiles when dark wins
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] iagno: Fix error showing wrong tiles when dark wins
- Date: Mon, 6 Feb 2012 07:11:00 +0000 (UTC)
commit 205e2bd2d88f951407cd7cb305507c3cb8331b0f
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Feb 6 18:10:49 2012 +1100
iagno: Fix error showing wrong tiles when dark wins
iagno/src/game-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/iagno/src/game-view.vala b/iagno/src/game-view.vala
index 6aefbb8..9d45537 100644
--- a/iagno/src/game-view.vala
+++ b/iagno/src/game-view.vala
@@ -193,7 +193,7 @@ public class GameView : Gtk.DrawingArea
if (n_losing_tiles > n_winning_tiles)
{
winning_color = Player.DARK;
- winning_color = Player.LIGHT;
+ losing_color = Player.LIGHT;
var t = n_winning_tiles;
n_winning_tiles = n_losing_tiles;
n_losing_tiles = t;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]