From 739eb5f7ab4d8d10e054ba80813bc1d9e3307450 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 14 Mar 2002 16:12:02 +0000 Subject: [w3m-dev 03129] Re: X-Face * configure (use_xface): ask * fm.h (_Buffer): add header_source * buffer.c (reshapeBuffer): fix reshape when reading stdin with image fix disappearing header when reading stdin * file.c (xface2xbm): check file existence * file.c (readHeader): save to tmp file X-Face when activeImage & displayImage * main.c (dispI): comment out checking content type * main.c (stopI): ditto * scripts/xface2xbm.in: update compface URL read from file $XF write to file $XBM From: Hironori Sakamoto --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index d215d61..c63be08 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.86 2002/03/05 16:58:09 ukai Exp $ */ +/* $Id: main.c,v 1.87 2002/03/14 16:12:07 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include @@ -4547,8 +4547,10 @@ dispI(void) if (!activeImage) return; displayImage = TRUE; +/* if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html"))) return; +*/ Currentbuf->image_flag = IMG_FLAG_AUTO; Currentbuf->need_reshape = TRUE; displayBuffer(Currentbuf, B_REDRAW_IMAGE); @@ -4559,8 +4561,10 @@ stopI(void) { if (!activeImage) return; +/* if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html"))) return; +*/ Currentbuf->image_flag = IMG_FLAG_SKIP; displayBuffer(Currentbuf, B_REDRAW_IMAGE); } -- cgit v1.2.3