From 501af67443db9282610b352904ee3f9709c9114c Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 21 Nov 2001 09:09:10 +0000 Subject: [w3m-dev 02472] cleanup CYGWIN macro From: Tsutomu Okada --- display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index 379038e..60190dd 100644 --- a/display.c +++ b/display.c @@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.4 2001/11/20 16:46:32 ukai Exp $ */ +/* $Id: display.c,v 1.5 2001/11/21 09:09:10 ukai Exp $ */ #include #include "fm.h" @@ -233,11 +233,11 @@ displayBuffer(Buffer * buf, int mode) scroll(n); } else if (n < 0 && n > -LASTLINE) { -#if defined(CYGWIN) && LANG == JA +#if defined(__CYGWIN__) && LANG == JA move(LASTLINE + n + 1, 0); clrtoeolx(); refresh(); -#endif /* defined(CYGWIN) && LANG == JA */ +#endif /* defined(__CYGWIN__) && LANG == JA */ rscroll(-n); } redrawNLine(buf, n); -- cgit v1.2.3