From: Yann Dirson Date: Sat, 19 Oct 2013 20:02:52 +0000 (+0200) Subject: Fix build of --with-curses mode. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=2afa5512342f9662cb5d8f94ed060dbd69a74c3d Fix build of --with-curses mode. Broken by 6030715dffdadf4402dccf6a8bf9966cfab2be1d and not checked soon enough :( --- diff --git a/gnushogi/cursesdsp.c b/gnushogi/cursesdsp.c index 7b37fc6..412bdc0 100644 --- a/gnushogi/cursesdsp.c +++ b/gnushogi/cursesdsp.c @@ -98,17 +98,17 @@ Curses_ClearScreen(void) static void -ClearMessage(void) +gotoXY(short x, short y) { - gotoXY(TAB, 6); - ClearEoln(); + move(y - 1, x - 1); } static void -gotoXY(short x, short y) +ClearMessage(void) { - move(y - 1, x - 1); + gotoXY(TAB, 6); + ClearEoln(); } @@ -239,7 +239,7 @@ ShowPlayers(void) } -static void +void Curses_ShowPrompt(void) { Curses_ShowSidetoMove(); diff --git a/gnushogi/gnushogi.h b/gnushogi/gnushogi.h index 52a77ae..2640a21 100644 --- a/gnushogi/gnushogi.h +++ b/gnushogi/gnushogi.h @@ -1047,7 +1047,6 @@ extern void ShowCurrentMove(short pnt, short f, short t); extern void ListGame(void); extern void ShowMessage(char *s); extern void ClearScreen(void); -extern void UpdateClocks(void); extern void DoDebug(void); extern void DoTable(short table[NO_SQUARES]); extern void ShowPostnValues(void);