This commit is contained in:
Russ Cox 2009-07-08 21:43:14 -07:00
commit 9b4a2324d3
13 changed files with 1140 additions and 7 deletions

View file

@ -43,7 +43,7 @@ subfontname(char *cfname, char *fname, int maxdepth)
}
/* try default */
if(access(t, AREAD) == 0)
if(strncmp(t, "/mnt/font/", 10) == 0 || access(t, AREAD) == 0)
return t;
return nil;