aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorAraki Ken <arakiken@users.sf.net>2014-09-28 06:36:50 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 11:47:05 +0000
commit78ae4478dfb943e64fcdc0cef15fe170557952d6 (patch)
tree78a2dd16305fb0e4080da3bd280679f861c9e514 /terms.c
parentSupport GNU screen. (diff)
downloadw3m-78ae4478dfb943e64fcdc0cef15fe170557952d6.tar.gz
w3m-78ae4478dfb943e64fcdc0cef15fe170557952d6.zip
Fix.
Diffstat (limited to 'terms.c')
-rw-r--r--terms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index 1ce9e2f..7c88b20 100644
--- a/terms.c
+++ b/terms.c
@@ -625,7 +625,7 @@ put_image_sixel(char *url, int x, int y, int w, int h, int sx, int sy, int sw, i
sx*pixel_per_char_i, sy*pixel_per_line_i);
argv[8] = clip;
argv[9] = url;
- if (getenv("TERM") && strcmp(getenv("TERM"), "screen")) {
+ if (getenv("TERM") && strcmp(getenv("TERM"), "screen") == 0) {
argv[10] = "-P";
argv[11] = NULL;
}