[gnome-games] aisleriot: Fix option menu for games with more than three options



commit 426d7c609f3b4369bee76c56f600a60281cdd87c
Author: KÃ¥re Fiedler Chrisitiansen <gnome kaarefc dk>
Date:   Mon Feb 7 17:51:10 2011 +0100

    aisleriot: Fix option menu for games with more than three options
    
    This was broken by commit 0e48565dc26fbe7b6a0fd2c411406b3c7744b721.
    
    Bug #641702.

 aisleriot/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/aisleriot/window.c b/aisleriot/window.c
index 0e1bb1d..a5c09f0 100644
--- a/aisleriot/window.c
+++ b/aisleriot/window.c
@@ -1109,7 +1109,7 @@ apply_option (GtkToggleAction *action,
   active = gtk_toggle_action_get_active (action);
 
   action_name = gtk_action_get_name (GTK_ACTION (action));
-  value = g_ascii_strtoull (action_name + strlen ("Option"), NULL, 16);
+  value = g_ascii_strtoull (action_name + strlen ("Option"), NULL, 10);
 
   /* g_print ("option %s changed, value=%x set=%d\n", action_name, value, active); */
 



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