diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c index 92f4f0ef4..dc2ef56ce 100644 --- a/sys/src/cmd/mothra/mothra.c +++ b/sys/src/cmd/mothra/mothra.c @@ -3,7 +3,6 @@ */ #include #include -#include #include #include #include @@ -542,7 +541,7 @@ void docmd(Panel *p, char *s){ break; case 'j': s=arg(s); - if(isdigit(s)) + if(*s) geturl(www(atoi(s)-1)->url->fullname, GET, 0, 0, 0); else message("no url selected");