Cache image files if at all possible and convert them to sixel when -sixel option is specified.

This commit is contained in:
Araki Ken authored and Tatsuya Kinoshita committed 2014-12-06 20:47:05 +09:00
1 parent 9504d18d0a
commit de942f3abf
1 file changed
+1 -1
+1 -1
View File
@@ -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);