commit f1416a4752954e5c0a3806f04821871a7f3406e3
parent ae0fddb3858de5e8121bfe60325ceb64997a1b58
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 16 Apr 2017 15:18:58 +0200
Show image links and return 0 when part is exact.
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/part.c b/part.c
@@ -305,6 +305,7 @@ partmain(int argc, char *argv[])
retc = part_write((char *)ide->data, mime, partl, type,
filename, status & BEQUIET,
status & TOSTDOUT, status & RAW);
+ retc = 0;
}
mime_free(mime);
diff --git a/view.c b/view.c
@@ -68,6 +68,7 @@ view_printtexthtml(mime_t *mime)
lstr = smprintf("lynx -dump -stdin -nomargins "
"-display_charset=\"utf-8\" "
+ "-image_links "
"-assume_charset=\"%s\"", mime->charset);
pid = runcmd(lstr, &infd, &outfd, NULL, 0);
free(lstr);