aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:23:02 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:23:02 +0000
commit6db339b3d7a391f196e7c4b725a4ed0bd00f31cf (patch)
tree7d6fed976b72694d61fc595a745d394e1cd6e1a5 /display.c
parentAdding upstream version 0.5.1 (diff)
downloadw3m-6db339b3d7a391f196e7c4b725a4ed0bd00f31cf.tar.gz
w3m-6db339b3d7a391f196e7c4b725a4ed0bd00f31cf.zip
Adding upstream version 0.5.2upstream/0.5.2
Diffstat (limited to 'display.c')
-rw-r--r--display.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/display.c b/display.c
index 507f22b..386c42f 100644
--- a/display.c
+++ b/display.c
@@ -1,10 +1,7 @@
-/* $Id: display.c,v 1.68 2003/09/26 17:59:51 ukai Exp $ */
+/* $Id: display.c,v 1.70 2007/05/29 12:07:02 inu Exp $ */
#include <signal.h>
#include "fm.h"
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-
/* *INDENT-OFF* */
#ifdef USE_COLOR
@@ -433,11 +430,11 @@ displayBuffer(Buffer *buf, int mode)
scroll(n);
}
else if (n < 0 && n > -buf->LINES) {
-#if defined(__CYGWIN__) && LANG == JA
+#if 0 /* defined(__CYGWIN__) */
move(LASTLINE + n + 1, 0);
clrtoeolx();
refresh();
-#endif /* defined(__CYGWIN__) && LANG == JA */
+#endif /* defined(__CYGWIN__) */
rscroll(-n);
}
redrawNLine(buf, n);