mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
fix up compilation on freebsd #1644
This commit is contained in:
parent
af1641be4e
commit
d441dd4d0d
@ -133,7 +133,8 @@ sprixel* sprixel_alloc(ncplane* n, int dimy, int dimx){
|
|||||||
ret->dimx = dimx;
|
ret->dimx = dimx;
|
||||||
ret->id = ++sprixelid_nonce;
|
ret->id = ++sprixelid_nonce;
|
||||||
if(ret->id >= 0x1000000){
|
if(ret->id >= 0x1000000){
|
||||||
ret->id = sprixelid_nonce = 1;
|
ret->id = 1;
|
||||||
|
sprixelid_nonce = 1;
|
||||||
}
|
}
|
||||||
//fprintf(stderr, "LOOKING AT %p (p->n = %p)\n", ret, ret->n);
|
//fprintf(stderr, "LOOKING AT %p (p->n = %p)\n", ret, ret->n);
|
||||||
if(ncplane_pile(ret->n)){
|
if(ncplane_pile(ret->n)){
|
||||||
|
Loading…
Reference in New Issue
Block a user