[four-in-a-row/gnome-3-10] Fix display of winner in 0- or 2-human games



commit 815aecc9706e60ed6a2a777f11bad0b261ea329d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Jan 23 20:41:39 2014 -0600

    Fix display of winner in 0- or 2-human games

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index d4071e9..4afcd5f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -549,7 +549,7 @@ prompt_player (void)
     if (gameover) {
        str = g_strdup_printf (_("%s wins!"), who);
       }
-    if (player_active) {
+    else if (player_active) {
       set_status_message (_("It is your move."));
       return;
 


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