From 2086c1e90c3edfd3a9d700b27ec2766b4581638f Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 29 Aug 2003 15:06:52 +0000 Subject: [w3m-dev 03958] w3mimgdisplay on jfbterm * w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm From: Fumitoshi UKAI --- w3mimg/fb/fb_w3mimg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'w3mimg/fb') diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c index 94674ed..b67bad1 100644 --- a/w3mimg/fb/fb_w3mimg.c +++ b/w3mimg/fb/fb_w3mimg.c @@ -1,4 +1,4 @@ -/* $Id: fb_w3mimg.c,v 1.12 2003/07/07 15:48:17 ukai Exp $ */ +/* $Id: fb_w3mimg.c,v 1.13 2003/08/29 15:06:52 ukai Exp $ */ #include #include #include @@ -171,7 +171,7 @@ w3mimg_fbopen() return NULL; memset(wop, 0, sizeof(w3mimg_op)); - if (!check_tty_console(getenv("W3M_TTY"))) { + if (!check_tty_console(getenv("W3M_TTY")) && strcmp("jfbterm", getenv("TERM")) != 0) { fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n"); goto error; } -- cgit v1.2.3