[four-in-a-row] Fix display of winner in 0- or 2-human games
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Fix display of winner in 0- or 2-human games
- Date: Fri, 24 Jan 2014 02:42:42 +0000 (UTC)
commit ebfd09838f0b85af97e40ed8238db9e04ae7b0ec
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 00edd67..867c1f3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -539,7 +539,7 @@ prompt_player (void)
if (gameover) {
str = g_strdup_printf (_("%s wins!"), who);
}
- if (player_active) {
+ else if (player_active) {
set_status_message (_("Your Turn"));
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]