aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-29 17:38:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-29 17:38:12 +0000
commit931a54afec82cbbc0eff2f08a3146de2aefe17f6 (patch)
treef79751e9584c5064fe0de616d543edbafec59e5c /main.c
parent[w3m-dev-en 00852] Re: Enhancement: content type detection of files (diff)
downloadw3m-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 '')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7bf596f..219f907 100644
--- a/main.c
+++ b/main.c
@@ -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;
}