tFix for curses client compilation on Win32 - vaccinewars - be a doctor and try… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 5dc0153ddfa26cf67c05e27ce9e3fd69308884ed | |
parent 40ec03f43f7910bd549c4324e545089c2c24cee4 | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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)) {} |