aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--w3mimg/fb/fb_w3mimg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c
index fb323f5..62511f0 100644
--- a/w3mimg/fb/fb_w3mimg.c
+++ b/w3mimg/fb/fb_w3mimg.c
@@ -178,8 +178,8 @@ w3mimg_fbopen()
memset(wop, 0, sizeof(w3mimg_op));
if (!check_tty_console(getenv("W3M_TTY")) &&
- strcmp("jfbterm", getenv("TERM")) != 0 &&
- strncmp("jfbterm-", getenv("TERM"), 8) != 0) {
+ strncmp("fbterm", getenv("TERM"), 6) != 0 &&
+ strncmp("jfbterm", getenv("TERM"), 7) != 0) {
fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
goto error;
}