[aisleriot/gnome-3-2] freecell: Don't use deprecated $expt



commit 5af656883481b89d94ad95372386f63ac23de5e4
Author: Jim Sublette <jim sublette gmail com>
Date:   Thu Nov 24 23:15:12 2011 +0100

    freecell: Don't use deprecated $expt
    
    $expt was removed from guile.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=649730
    (cherry picked from commit d8e0eb22bd94f5e927ea7eef438495752425e3ea)

 games/freecell.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/games/freecell.scm b/games/freecell.scm
index 06b070c..7557a5d 100644
--- a/games/freecell.scm
+++ b/games/freecell.scm
@@ -215,7 +215,7 @@
   (and (field-sequence? card-list)
        (<= (length card-list)
            (* (+ (empty-freecell-number) 1)
-              ($expt 2 (max (- (empty-field-number)
+              (expt 2 (max (- (empty-field-number)
                                (if (empty-slot? field-id) 1 0)
                                (if (empty-slot? start-slot) 1 0))
                             0))))



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