diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-15 16:35:46 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-15 16:35:46 +0000 |
commit | 563cc280e4be0d630216494acdca2602c5651418 (patch) | |
tree | e0bd9eb7ee70e4e6b3ae89f5c524bc8d72a49971 /main.c | |
parent | [w3m-dev 03133] Re: w3mman.1 (diff) | |
download | w3m-563cc280e4be0d630216494acdca2602c5651418.tar.gz w3m-563cc280e4be0d630216494acdca2602c5651418.zip |
[w3m-dev 03132] Re: Reload image
* file.c (loadGeneralFile): b->type = "text/html"
* file.c (loadImageBuffer): comment out getImageSize()
image_flag = IMG_FLAG_AUTO
* file.c (openGeneralPagerBuffer): buf->type = "text/html"
* frame.c (resetFrameElement): if (buf->mailcap_source) ...
* frame.c (frame_download_source): if (buf->mailcap_source) ...
* main.c (vwSrc): #ifdef USE_IMAGE
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.87 2002/03/14 16:12:07 ukai Exp $ */ +/* $Id: main.c,v 1.88 2002/03/15 16:35:46 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -4139,6 +4139,10 @@ vwSrc(void) if (Currentbuf->type == NULL || Currentbuf->bufferprop & BP_FRAME) return; +#ifdef USE_IMAGE + if (!strncasecmp(Currentbuf->real_type, "image/", 6)) + return; +#endif if ((buf = Currentbuf->linkBuffer[LB_SOURCE]) != NULL || (buf = Currentbuf->linkBuffer[LB_N_SOURCE]) != NULL) { Currentbuf = buf; |