Lots of X fixes.
This commit is contained in:
parent
4af386f434
commit
161060a463
14 changed files with 237 additions and 31 deletions
|
|
@ -29,7 +29,9 @@ subfontname(char *cfname, char *fname, int maxdepth)
|
|||
if(maxdepth > 8)
|
||||
maxdepth = 8;
|
||||
|
||||
for(i=log2[maxdepth]; i>=0; i--){
|
||||
for(i=3; i>=0; i--){
|
||||
if((1<<i) > maxdepth)
|
||||
continue;
|
||||
/* try i-bit grey */
|
||||
snprint(tmp2, sizeof tmp2, "%s.%d", t, i);
|
||||
if(access(tmp2, AREAD) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue