Bug#673054: aisleriot game dies when double-clicking on a column

Julian Gilbey jdg at debian.org
Sun Jul 15 12:42:41 UTC 2012


tags 673054 + patch fixed-upstream
thanks

On Tue, May 15, 2012 at 08:37:29PM +0200, Solveig wrote:
> Package: aisleriot
> Version: 1:3.4.1-1
> 
> I was playing the spider game, and when finishing a column, i
> double-clicked on it to send it up . This used to work on previous
> versions, but i just updated, and now it opens a message saying:
> 
> A scheme exception occurred
> Please report this bug to the developers.

The patch can be found at
http://git.gnome.org/browse/aisleriot/commit/?id=5824bce7a75df921a481c9491bdafcd67b9f2f75
and is:

diff --git a/games/api.scm b/games/api.scm
index f38ad1f..6249fb7 100644
--- a/games/api.scm
+++ b/games/api.scm
@@ -545,7 +545,7 @@
   (add-cards! end-slot cards))
 
 (define-public (remove-n-cards slot-id n)
-  (set-cards! slot-id (list-tail n (get-cards slot-id))))
+  (set-cards! slot-id (list-tail (get-cards slot-id) n)))
 (define-public (deal-cards-from-deck deck slot-list)
   (if (not (null? slot-list))


   Julian




More information about the pkg-gnome-maintainers mailing list