aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-19 17:18:54 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-19 17:18:54 +0000
commitb8ec81336b03caf3c81bc372d9b614c176d99bcd (patch)
treed6eb79bd5557a3f9f19ad8b7e46784497dba254c
parentftp.c (ftp_fclose): void return (diff)
downloadw3m-b8ec81336b03caf3c81bc372d9b614c176d99bcd.tar.gz
w3m-b8ec81336b03caf3c81bc372d9b614c176d99bcd.zip
[w3m-dev 03450] Re: cygwin console on Win9X
* terms.c (mouse_init): ifdef __CYGWIN__ (mouse_end): ditto From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
-rw-r--r--ChangeLog8
-rw-r--r--terms.c6
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index af99784..f00acea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-20 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
+
+ * [w3m-dev 03450] Re: cygwin console on Win9X
+ * terms.c (mouse_init): ifdef __CYGWIN__
+ (mouse_end): ditto
+
2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp>
* ftp.c (ftp_fclose): void return
@@ -4887,4 +4893,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.535 2002/11/18 18:26:13 ukai Exp $
+$Id: ChangeLog,v 1.536 2002/11/19 17:18:54 ukai Exp $
diff --git a/terms.c b/terms.c
index e2c6522..6f43baf 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.38 2002/11/15 15:45:18 ukai Exp $ */
+/* $Id: terms.c,v 1.39 2002/11/19 17:18:54 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -2121,9 +2121,11 @@ mouse_init()
if (is_xterm & NEED_XTERM_ON) {
XTERM_ON;
}
+#ifdef __CYGWIN__
else if (is_xterm & NEED_CYGWIN_ON) {
CYGWIN_ON;
}
+#endif
mouseActive = 1;
}
@@ -2135,9 +2137,11 @@ mouse_end()
if (is_xterm & NEED_XTERM_OFF) {
XTERM_OFF;
}
+#ifdef __CYGWIN__
else if (is_xterm & NEED_CYGWIN_OFF) {
CYGWIN_OFF;
}
+#endif
mouseActive = 0;
}