[w3m-dev 03682] open null file on tab

* display.c (displayBuffer): if empty, clear()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-24 17:34:36 +00:00
parent 7a5aebe4b0
commit ec84de753b
2 changed files with 7 additions and 3 deletions

View File

@@ -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 <signal.h>
#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);