mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
libdraw: allow 32-bit Runes
R=, rsc CC= http://codereview.appspot.com/196054
This commit is contained in:
parent
ecb01acac3
commit
2d6da3763e
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ buildfont(Display *d, char *buf, char *name)
|
||||||
}
|
}
|
||||||
max = strtol(s, &s, 0);
|
max = strtol(s, &s, 0);
|
||||||
s = skip(s);
|
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");
|
werrstr("illegal subfont range");
|
||||||
Err3:
|
Err3:
|
||||||
freefont(fnt);
|
freefont(fnt);
|
||||||
|
|
Loading…
Reference in a new issue