gnome-games r8142 - trunk/aisleriot
- From: jclinton svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8142 - trunk/aisleriot
- Date: Tue, 21 Oct 2008 19:44:44 +0000 (UTC)
Author: jclinton
Date: Tue Oct 21 19:44:44 2008
New Revision: 8142
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8142&view=rev
Log:
Fix the index for highlighted cards in card-cache.c
Modified:
trunk/aisleriot/card-cache.c
Modified: trunk/aisleriot/card-cache.c
==============================================================================
--- trunk/aisleriot/card-cache.c (original)
+++ trunk/aisleriot/card-cache.c Tue Oct 21 19:44:44 2008
@@ -220,7 +220,7 @@
index = card_id;
if (highlighted)
- index *= 2;
+ index += GAMES_CARDS_TOTAL;
if (priv->cards[index] == COGL_INVALID_HANDLE) {
CoglHandle tex;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]