aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--display.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7cd9d95..2c61408 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03443] Can't display "echo only_one_line | w3m"
+ * display.c (redrawNLine): check 1st line
+
2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03442] Re: setting form on loading
@@ -4826,4 +4831,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.526 2002/11/15 16:48:14 ukai Exp $
+$Id: ChangeLog,v 1.527 2002/11/18 16:42:12 ukai Exp $
diff --git a/display.c b/display.c
index 48d9768..dbd9c18 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.32 2002/11/15 15:23:45 ukai Exp $ */
+/* $Id: display.c,v 1.33 2002/11/18 16:42:25 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -481,6 +481,8 @@ redrawNLine(Buffer *buf, int n)
l = l0;
}
if (n > 0) {
+ if (i == 0 && buf->topLine != NULL)
+ i++;
move(i + buf->rootY, 0);
clrtobotx();
}