aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorAraki Ken <arakiken@users.sf.net>2014-09-22 11:16:39 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 11:47:05 +0000
commit2fe66f3a6f1b1fd28424a2f14beebdd535e9d17b (patch)
tree546648d217e82e218d22d20e90cc46acc2bd0e72 /display.c
parentDon't download image files whose size is specified in <img> tag. (diff)
downloadw3m-2fe66f3a6f1b1fd28424a2f14beebdd535e9d17b.tar.gz
w3m-2fe66f3a6f1b1fd28424a2f14beebdd535e9d17b.zip
Add -sixel option which supports image processing by img2sixel.
Diffstat (limited to 'display.c')
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/display.c b/display.c
index 691437b..6dd0976 100644
--- a/display.c
+++ b/display.c
@@ -523,7 +523,7 @@ drawAnchorCursor0(Buffer *buf, AnchorList *al, int hseq, int prevhseq,
if (hseq >= 0 && an->hseq == hseq) {
int start_pos = an->start.pos;
for (i = an->start.pos; i < an->end.pos; i++) {
- if (support_remote_image && (l->propBuf[i] & PE_IMAGE))
+ if (enable_inline_image && (l->propBuf[i] & PE_IMAGE))
start_pos = i + 1; /* Lazy check */
if (l->propBuf[i] & (PE_IMAGE | PE_ANCHOR | PE_FORM)) {
if (active)
@@ -858,7 +858,7 @@ redrawLineImage(Buffer *buf, Line *l, int i)
y = (int)(i * pixel_per_line);
sx = (int)((rcol - COLPOS(l, a->start.pos)) * pixel_per_char);
sy = (int)((l->linenumber - image->y) * pixel_per_line);
- if (! support_remote_image) {
+ if (! enable_inline_image) {
if (sx == 0 && x + image->xoffset >= 0)
x += image->xoffset;
else