[four-in-a-row] Fix sensitivity of Hint button



commit 4ffba405a34717d5decdaf3d0c82cd19a0e0aa97
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Aug 30 10:55:56 2014 -0500

    Fix sensitivity of Hint button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735060

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 1e305b1..5c1343c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -488,7 +488,7 @@ prompt_player (void)
   const gchar *who = NULL;
   gchar *str = NULL;
 
-  g_simple_action_set_enabled (G_SIMPLE_ACTION (hint_action), (human || gameover));
+  g_simple_action_set_enabled (G_SIMPLE_ACTION (hint_action), (human && !gameover));
 
   switch (players) {
   case 0:


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