diff options
author | Araki Ken <arakiken@users.sf.net> | 2014-09-22 17:05:44 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 11:47:05 +0000 |
commit | 622bdafb59e9fb4ce959e0f04c1f584e33373983 (patch) | |
tree | 4fe893fb272dc0d9c113952faec42515a164a3df | |
parent | Cache image files if at all possible and convert them to sixel when -sixel op... (diff) | |
download | w3m-622bdafb59e9fb4ce959e0f04c1f584e33373983.tar.gz w3m-622bdafb59e9fb4ce959e0f04c1f584e33373983.zip |
Minor fix.
-rw-r--r-- | image.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |