diff options
author | Araki Ken <arakiken@users.sf.net> | 2014-09-22 13:55:14 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 11:47:05 +0000 |
commit | de942f3abf6da50b7e85339117bafdd3b5d0a146 (patch) | |
tree | fb217dfcfb84c3fa2743b38f204c49d3be73d21b | |
parent | Init pixel_per_{char|line}_i if get_pixel_per_cell() fails. (diff) | |
download | w3m-de942f3abf6da50b7e85339117bafdd3b5d0a146.tar.gz w3m-de942f3abf6da50b7e85339117bafdd3b5d0a146.zip |
Cache image files if at all possible and convert them to sixel when -sixel option is specified.
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -595,7 +595,7 @@ getImage(Image * image, ParsedURL *current, int flag) cache->pid = 0; cache->index = 0; cache->loaded = IMG_FLAG_UNLOADED; - if (enable_inline_image) { + if (enable_inline_image == 1) { if (image->width > 0 && image->width % pixel_per_char_i > 0) image->width += (pixel_per_char_i - image->width % pixel_per_char_i); |