From 78ae4478dfb943e64fcdc0cef15fe170557952d6 Mon Sep 17 00:00:00 2001 From: Araki Ken Date: Sun, 28 Sep 2014 15:36:50 +0900 Subject: Fix. --- terms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terms.c') 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; } -- cgit v1.2.3