diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-08-29 15:06:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-08-29 15:06:52 +0000 |
commit | 2086c1e90c3edfd3a9d700b27ec2766b4581638f (patch) | |
tree | 9a694aeee508c46cb1b58649d537be7c3034b912 /w3mimg | |
parent | [w3m-dev 03957] Location: from local-CGI (diff) | |
download | w3m-2086c1e90c3edfd3a9d700b27ec2766b4581638f.tar.gz w3m-2086c1e90c3edfd3a9d700b27ec2766b4581638f.zip |
[w3m-dev 03958] w3mimgdisplay on jfbterm
* w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'w3mimg')
-rw-r--r-- | w3mimg/fb/fb_w3mimg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -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; } |