mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[pool_release] reset width on recycle
This commit is contained in:
parent
92b2165b39
commit
6fd9a9fda9
@ -738,6 +738,7 @@ pool_release(egcpool* pool, nccell* c){
|
||||
egcpool_release(pool, cell_egc_idx(c));
|
||||
}
|
||||
c->gcluster = 0; // don't subject ourselves to double-release problems
|
||||
c->width = 0; // don't subject ourselves to geometric ambiguities
|
||||
}
|
||||
|
||||
// set the nccell 'c' to point into the egcpool at location 'eoffset'
|
||||
|
Loading…
x
Reference in New Issue
Block a user