libdraw: fix typo: 0xfffff -> 0xffff
This commit is contained in:
parent
5fd52f6241
commit
b5d47d6deb
|
@ -29,7 +29,7 @@ allocscreen(Image *image, Image *fill, int public)
|
||||||
a = bufimage(d, 1+4+4+4+1);
|
a = bufimage(d, 1+4+4+4+1);
|
||||||
if(a == 0)
|
if(a == 0)
|
||||||
break;
|
break;
|
||||||
id = ++screenid & 0xfffff; /* old devdraw bug */
|
id = ++screenid & 0xffff; /* old devdraw bug */
|
||||||
a[0] = 'A';
|
a[0] = 'A';
|
||||||
BPLONG(a+1, id);
|
BPLONG(a+1, id);
|
||||||
BPLONG(a+5, image->id);
|
BPLONG(a+5, image->id);
|
||||||
|
|
Loading…
Reference in a new issue