aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-21 09:09:10 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-21 09:09:10 +0000
commit501af67443db9282610b352904ee3f9709c9114c (patch)
treecc196fdb46b64bab11ee89847be0072dee00234d /display.c
parent2001-11-21 Akinori Ito <aito@fw.ipsj.or.jp> (diff)
downloadw3m-501af67443db9282610b352904ee3f9709c9114c.tar.gz
w3m-501af67443db9282610b352904ee3f9709c9114c.zip
[w3m-dev 02472] cleanup CYGWIN macro
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to '')
-rw-r--r--display.c6
1 files changed, 3 insertions, 3 deletions
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 <signal.h>
#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);