add #ifdef __CYGWIN__. [w3m-dev 04265]

This commit is contained in:
Dai Sato
2007-05-30 04:43:59 +00:00
parent 1d5c3e343f
commit 4f490b306e
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
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
@@ -8890,4 +8895,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
$Id: ChangeLog,v 1.994 2007/05/30 03:15:13 inu Exp $
$Id: ChangeLog,v 1.995 2007/05/30 04:43:59 inu Exp $

View File

@@ -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__) */