From cb4cfa8ca5e717cb2c3d14988b6fc05e31bc1837 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 21 Oct 2012 11:24:18 +0200 Subject: [PATCH] Fix WinBoard compile errors --- frontend.h | 1 + winboard/wevalgraph.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/frontend.h b/frontend.h index e2b7b60..56fed20 100644 --- a/frontend.h +++ b/frontend.h @@ -184,6 +184,7 @@ extern char *homeDir; /* these are in wgamelist.c */ void GameListPopUp P((FILE *fp, char *filename)); +void GameListPopDown P((void)); void GameListHighlight P((int index)); void GameListDestroy P((void)); diff --git a/winboard/wevalgraph.c b/winboard/wevalgraph.c index 5a6ca62..e438916 100644 --- a/winboard/wevalgraph.c +++ b/winboard/wevalgraph.c @@ -58,7 +58,7 @@ Boolean EvalGraphIsUp() } // [HGM] front-end, added as wrapper to avoid use of LineTo and MoveToEx in other routines (so they can be back-end) -void DrawSegment( int x, int y, int *lastX, int *lastY, int penType ) +void DrawSegment( int x, int y, int *lastX, int *lastY, enum PEN penType ) { POINT stPt; if(penType == PEN_NONE) MoveToEx( hdcPB, x, y, &stPt ); else { -- 1.7.0.4