tFix for curses client compilation on Win32 - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5dc0153ddfa26cf67c05e27ce9e3fd69308884ed
(DIR) parent 40ec03f43f7910bd549c4324e545089c2c24cee4
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 25 Sep 2001 19:21:48 +0000
Fix for curses client compilation on Win32
Diffstat:
M src/curses_client.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/curses_client.c b/src/curses_client.c
t@@ -254,7 +254,9 @@ static char *SelectServerFromMetaServer(Player *Play) {
if (FD_ISSET(0,&readfds)) {
/* So that Ctrl-L works */
c = getch();
+#ifndef CYGWIN
if (c=='\f') wrefresh(curscr);
+#endif
}
if (RespondToSelect(&MetaConn->NetBuf,&readfds,&writefds,NULL,&DoneOK)) {
while (HandleWaitingMetaServerData(MetaConn,&ServerList)) {}