Suppress printing of status line in dual-board mode
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 11:15:08 +0000 (12:15 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 11:15:08 +0000 (12:15 +0100)
backend.c

index 5735639..a196a9f 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -4320,7 +4320,7 @@ ParseBoard12 (char *string)
                      partnerUp = 0; flipView = !flipView; } // [HGM] dual
       snprintf(partnerStatus, MSG_SIZ,"W: %d:%02d B: %d:%02d (%d-%d) %c", white_time*fac/60000, (white_time*fac%60000)/1000,
                 (black_time*fac/60000), (black_time*fac%60000)/1000, white_stren, black_stren, to_play);
-      DisplayMessage(partnerStatus, "");
+      if(!twoBoards) DisplayMessage(partnerStatus, "");
        partnerBoardValid = TRUE;
       return;
     }