From: Yann Dirson Date: Sun, 16 Feb 2014 15:06:15 +0000 (+0100) Subject: Curses: shift board one char to the right to leave enough space for captures. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=1950330c6bfee3abf748a81d85afad03b7c768a4 Curses: shift board one char to the right to leave enough space for captures. There was not really enough space to display top player's captures correctly. --- diff --git a/NEWS b/NEWS index 35537b8..7c9be91 100644 --- a/NEWS +++ b/NEWS @@ -11,7 +11,7 @@ Changes in version 1.4.2 (unreleased): * Fixed Curses mode display: - reversed column number for MiniShogi - clock position for MiniShogi - - artifacts while prompting in edit mode with only 80 columns + - layout fixes, notably when using only 80 columns * Minor code cleanups. Changes in version 1.4.1 (01/2014): diff --git a/gnushogi/cursesdsp.c b/gnushogi/cursesdsp.c index bf5452f..98cec52 100644 --- a/gnushogi/cursesdsp.c +++ b/gnushogi/cursesdsp.c @@ -64,7 +64,7 @@ int mycnt1, mycnt2; -#define MARGIN (4) +#define MARGIN (5) #define TAB (58) #define VIR_C(s) ((flag.reverse) ? (NO_COLS - 1 - column(s)) : column(s))