diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-14 16:12:02 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-14 16:12:02 +0000 |
commit | 739eb5f7ab4d8d10e054ba80813bc1d9e3307450 (patch) | |
tree | 16824ac9f18cd2fa93458381c83d4579fa047761 /main.c | |
parent | * proto.h (readHeader): added (diff) | |
download | w3m-739eb5f7ab4d8d10e054ba80813bc1d9e3307450.tar.gz w3m-739eb5f7ab4d8d10e054ba80813bc1d9e3307450.zip |
[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 <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 <signal.h> @@ -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); } |