[gnome-games/gnome-2-28] libgames-support: Fix card suit enum



commit 9af8974a997866aeedd1913157b44521a1a30c75
Author: Christian Persch <chpe gnome org>
Date:   Fri Nov 20 18:02:26 2009 +0100

    libgames-support: Fix card suit enum
    
    Hearts and Diamons were transposed.
    (cherry picked from commit 7581dc577ea03f3dac83196a60b04f8648e9d882)

 libgames-support/games-card.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgames-support/games-card.h b/libgames-support/games-card.h
index 1f48c02..0300359 100644
--- a/libgames-support/games-card.h
+++ b/libgames-support/games-card.h
@@ -87,8 +87,8 @@ typedef enum {
 
   /* Suites */
   GAMES_CARDS_CLUBS = 0,
-  GAMES_CARDS_DIAMONDS = 2,
-  GAMES_CARDS_HEARTS = 1,
+  GAMES_CARDS_DIAMONDS = 1,
+  GAMES_CARDS_HEARTS = 2,
   GAMES_CARDS_SPADES = 3,
 
   /* Jokers */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]