diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-22 16:16:18 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-22 16:16:18 +0000 |
commit | 3f25d8f04868a17875fecef8d918cda4f9c3fbbe (patch) | |
tree | 21a352480fd81597d828fca9b0d94567059ce0b0 /buffer.c | |
parent | fix indent (diff) | |
download | w3m-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 'buffer.c')
-rw-r--r-- | buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |