From 931a54afec82cbbc0eff2f08a3146de2aefe17f6 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 29 Jan 2003 17:38:12 +0000 Subject: [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 --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') 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 @@ -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; } -- cgit v1.2.3