From ec84de753b2981ff5dcbad42a934b7fbfbc1143a Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 24 Jan 2003 17:34:36 +0000 Subject: [w3m-dev 03682] open null file on tab * display.c (displayBuffer): if empty, clear() From: Hironori SAKAMOTO --- ChangeLog | 7 ++++++- display.c | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c6b33e..d5c57e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-25 Hironori SAKAMOTO + + * [w3m-dev 03682] open null file on tab + * display.c (displayBuffer): if empty, clear() + 2003-01-25 Hironori SAKAMOTO * [w3m-dev 03681] Re: fold patch @@ -6832,4 +6837,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.712 2003/01/24 17:30:38 ukai Exp $ +$Id: ChangeLog,v 1.713 2003/01/24 17:34:36 ukai Exp $ diff --git a/display.c b/display.c index fd476c0..a038566 100644 --- a/display.c +++ b/display.c @@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.56 2003/01/24 17:30:57 ukai Exp $ */ +/* $Id: display.c,v 1.57 2003/01/24 17:34:36 ukai Exp $ */ #include #include "fm.h" @@ -456,7 +456,6 @@ displayBuffer(Buffer *buf, int mode) msg = make_lastline_message(buf); if (buf->firstLine == NULL) { Strcat_charp(msg, "\tNo Line"); - clear(); } if (delayed_msg != NULL) { disp_message(delayed_msg, FALSE); -- cgit v1.2.3