aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-25 16:54:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-25 16:54:45 +0000
commit9f16cac5b27aa87332030153d706df602be92a07 (patch)
tree1e30cdc9ab04123c674f265926a0d007c77b59e9 /terms.c
parent[#496610] #include <sys/wait.h> (diff)
downloadw3m-9f16cac5b27aa87332030153d706df602be92a07.tar.gz
w3m-9f16cac5b27aa87332030153d706df602be92a07.zip
[#496613] LASTLINE in terms.c
Diffstat (limited to '')
-rw-r--r--terms.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/terms.c b/terms.c
index 3ce3ef8..fbe9815 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.26 2001/12/25 12:41:08 ukai Exp $ */
+/* $Id: terms.c,v 1.27 2001/12/25 16:54:45 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -435,9 +435,9 @@ char *T_cd, *T_ce, *T_kr, *T_kl, *T_cr, *T_bt, *T_ta, *T_sc, *T_rc,
*T_ti, *T_te, *T_nd, *T_as, *T_ae, *T_eA, *T_ac, *T_op;
int LINES, COLS;
-#if defined(CYGWIN) && LANG == JA
+#if defined(__CYGWIN__) && LANG == JA
int LASTLINE;
-#endif /* defined(CYGWIN) && LANG == JA */
+#endif /* defined(__CYGWIN__) && LANG == JA */
static int max_LINES = 0, max_COLS = 0;
static int tab_step = 8;
static int CurLine, CurColumn;
@@ -794,9 +794,9 @@ setlinescols(void)
COLS = MAX_COLUMN;
if (LINES > MAX_LINE)
LINES = MAX_LINE;
-#if defined(CYGWIN) && LANG == JA
+#if defined(__CYGWIN__) && LANG == JA
LASTLINE = LINES - (isWinConsole ? 2 : 1);
-#endif /* defined(CYGWIN) && LANG == JA */
+#endif /* defined(__CYGWIN__) && LANG == JA */
}
void