aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-05-30 04:43:59 +0000
committerDai Sato <satodai@w3m.jp>2007-05-30 04:43:59 +0000
commit4f490b306e7ae9b732f79d5aea1f80d6ca2f90d1 (patch)
tree292e970162b89081ed4fda04a4a7d9a5f50de257 /terms.c
parentadd datarootdir. [w3m-dev 04264] (diff)
downloadw3m-4f490b306e7ae9b732f79d5aea1f80d6ca2f90d1.tar.gz
w3m-4f490b306e7ae9b732f79d5aea1f80d6ca2f90d1.zip
add #ifdef __CYGWIN__. [w3m-dev 04265]
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index 4975c0f..157178f 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.56 2007/05/23 15:06:06 inu Exp $ */
+/* $Id: terms.c,v 1.57 2007/05/30 04:44:00 inu Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -1336,7 +1336,9 @@ refresh(void)
* (COLS-1,LINES-1).
*/
#if !defined(USE_BG_COLOR) || defined(__CYGWIN__)
+#ifdef __CYGWIN__
if (isWinConsole)
+#endif
if (line == LINES - 1 && col == COLS - 1)
break;
#endif /* !defined(USE_BG_COLOR) || defined(__CYGWIN__) */