diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-29 17:38:12 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-29 17:38:12 +0000 |
commit | 931a54afec82cbbc0eff2f08a3146de2aefe17f6 (patch) | |
tree | f79751e9584c5064fe0de616d543edbafec59e5c /main.c | |
parent | [w3m-dev-en 00852] Re: Enhancement: content type detection of files (diff) | |
download | w3m-931a54afec82cbbc0eff2f08a3146de2aefe17f6.tar.gz w3m-931a54afec82cbbc0eff2f08a3146de2aefe17f6.zip |
[w3m-dev 03709] Re: view source, edit source
* display.c (displayBuffer): INIT_BUFFER_WIDTH
* file.c (_saveBuffer): added
(saveBuffer): use _saveBuffer
(saveBufferBody): added
* main.c (vmSrc): saveBufferBody
* proto.h (saveBufferBody): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.203 2003/01/29 17:10:41 ukai Exp $ */ +/* $Id: main.c,v 1.204 2003/01/29 17:38:15 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -4399,7 +4399,7 @@ vwSrc(void) f = fopen(tmpf->ptr, "w"); if (f == NULL) return; - saveBuffer(Currentbuf, f, TRUE); + saveBufferBody(Currentbuf, f, TRUE); fclose(f); Currentbuf->sourcefile = tmpf->ptr; } |