From da8e444e6e41af03151cd42350180926b41da28a Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sun, 16 Feb 2014 17:27:00 +0100 Subject: [PATCH] Ensure the player names are refreshed after a switch (impacts Curses mode). --- NEWS | 1 + gnushogi/commondsp.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index e82931a..707f1ec 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ Changes in version 1.4.2 (unreleased): * Fixed Curses mode display: - reversed column number for MiniShogi - clock and captures position for MiniShogi + - refresh display after "switch" to get player names updated - layout fixes, notably when using only 80 columns * Minor code cleanups. diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 32785f5..33d1068 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1812,6 +1812,7 @@ InputCommand(char *command) flag.force = false; Sdepth = 0; ok = true; + UpdateDisplay(0, 0, 1, 0); } else if (strcmp(s, "black") == 0) { -- 1.7.0.4