libdraw: allow 32-bit Runes
R=, rsc CC= http://codereview.appspot.com/196054
This commit is contained in:
parent
ecb01acac3
commit
2d6da3763e
@ -70,7 +70,7 @@ buildfont(Display *d, char *buf, char *name)
|
||||
}
|
||||
max = strtol(s, &s, 0);
|
||||
s = skip(s);
|
||||
if(*s==0 || min>=65536 || max>=65536 || min>max){
|
||||
if(*s==0 || min>Runemax || max>Runemax || min>max){
|
||||
werrstr("illegal subfont range");
|
||||
Err3:
|
||||
freefont(fnt);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user