commit 379f2d0d0bcabccb01a45ea788561d972689a60d
parent eb8199be3b9d363aa9eb5c315c2a441aa379b318
Author: inu <inu>
Date: Wed, 30 May 2007 04:43:59 +0000
add #ifdef __CYGWIN__. [w3m-dev 04265]
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 04265] compile error when #undef USE_BG_COLOR
+ * terms.c: add #ifdef __CYGWIN__.
+
+2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 04264] Re: road to 0.5.2
* po/makefile.in.in, scripts/*/Makefile.in: add datarootdir.
diff --git a/terms.c b/terms.c
@@ -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__) */