aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schepler <dschepler@gmail.com>2015-06-22 21:58:04 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-06-22 21:58:04 +0000
commit53a9515b1843da19aa1885395d1d55c5cddc706a (patch)
tree8fb0a8b292aa55562c24811d68b6c9c549eda32b
parentUpdate ChangeLog (diff)
downloadw3m-53a9515b1843da19aa1885395d1d55c5cddc706a.tar.gz
w3m-53a9515b1843da19aa1885395d1d55c5cddc706a.zip
Wrap the functions used by image.c in USE_IMAGE
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789539
-rw-r--r--terms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/terms.c b/terms.c
index 79996f1..339b645 100644
--- a/terms.c
+++ b/terms.c
@@ -467,6 +467,7 @@ writestr(char *s)
#define MOVE(line,column) writestr(tgoto(T_cm,column,line));
+#ifdef USE_IMAGE
void
put_image_osc5379(char *url, int x, int y, int w, int h, int sx, int sy, int sw, int sh, int n_terminal_image)
{
@@ -720,6 +721,7 @@ get_pixel_per_cell(int *ppc, int *ppl)
return 0;
}
+#endif /* USE_IMAGE */
#ifdef USE_MOUSE
#define W3M_TERM_INFO(name, title, mouse) name, title, mouse