aboutsummaryrefslogtreecommitdiffstats
path: root/buffer.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:16:18 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:16:18 +0000
commit3f25d8f04868a17875fecef8d918cda4f9c3fbbe (patch)
tree21a352480fd81597d828fca9b0d94567059ce0b0 /buffer.c
parentfix indent (diff)
downloadw3m-3f25d8f04868a17875fecef8d918cda4f9c3fbbe.tar.gz
w3m-3f25d8f04868a17875fecef8d918cda4f9c3fbbe.zip
[w3m-dev 03677] view source, edit source
* buffer.c (discardBuffer): unlink header source * file.c (loadFile): delete skip header * fm.h (BP_SOURCE): deleted (SkipHeader): deleted * main (editBf): cleanup (vmSrc): cleanup From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--buffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index e64f923..4fbb4fe 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,4 +1,4 @@
-/* $Id: buffer.c,v 1.18 2003/01/10 16:11:01 ukai Exp $ */
+/* $Id: buffer.c,v 1.19 2003/01/22 16:16:19 ukai Exp $ */
#include "fm.h"
#ifdef USE_MOUSE
@@ -102,6 +102,8 @@ discardBuffer(Buffer *buf)
if (buf->real_scheme != SCM_LOCAL || buf->bufferprop & BP_FRAME)
unlink(buf->sourcefile);
}
+ if (buf->header_source)
+ unlink(buf->header_source);
if (buf->mailcap_source)
unlink(buf->mailcap_source);
while (buf->frameset) {