[w3m-dev 03619] Re: Error occured while reset

* file.c (process_img): check image.ext
	(HTMLlineproc2body): check image.ext
	(loadImageBuffer): url, ext is in URLFile
* frame.c (unloadFrame): no need to push to fileToDelete
	(copyFrame): no need to reset FB_TODELETE
	(resetFrameElement): f_body->source, buf->sourcefile
	(frame_download_source): buf->source
			buf->sourcefile reset
* frame.h (FB_NOCACHE): deleted
	(FB_TODELETE): deleted
* main.c (vmSrc): Currentbuf->sourcefile
		need_reshape if images exist
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-09 15:30:20 +00:00
parent f8ea236868
commit 0cf4f52a13
5 changed files with 38 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: frame.h,v 1.4 2002/02/08 11:45:07 ukai Exp $ */
/* $Id: frame.h,v 1.5 2003/01/09 15:30:46 ukai Exp $ */
/*
* frame support
*/
@@ -15,9 +15,7 @@ struct frame_element {
struct frame_body {
char attr;
char flags;
#define FB_NOCACHE 0x01
#define FB_TODELETE 0x02
#define FB_NO_BUFFER 0x04
#define FB_NO_BUFFER 0x01
char *name;
char *url;
ParsedURL *baseURL;