aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorAraki Ken <arakiken@users.sf.net>2014-09-22 17:05:44 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 11:47:05 +0000
commit622bdafb59e9fb4ce959e0f04c1f584e33373983 (patch)
tree4fe893fb272dc0d9c113952faec42515a164a3df /image.c
parentCache image files if at all possible and convert them to sixel when -sixel op... (diff)
downloadw3m-622bdafb59e9fb4ce959e0f04c1f584e33373983.tar.gz
w3m-622bdafb59e9fb4ce959e0f04c1f584e33373983.zip
Minor fix.
Diffstat (limited to '')
-rw-r--r--image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/image.c b/image.c
index b5137e7..33c5462 100644
--- a/image.c
+++ b/image.c
@@ -214,7 +214,8 @@ drawImage()
if (enable_inline_image) {
#if 0
fprintf(stderr,"file %s x %d y %d w %d h %d sx %d sy %d sw %d sh %d (ppc %d ppl %d)\n",
- (getenv("WINDOWID") && i->cache->touch) ? i->cache->file : i->cache->url,
+ ((enable_inline_image == 2 || getenv("WINDOWID")) &&
+ i->cache->touch) ? i->cache->file : i->cache->url,
i->x, i->y,
i->cache->width > 0 ? i->cache->width : 0,
i->cache->height > 0 ? i->cache->height : 0,