mirror of https://codeberg.org/nsxiv/nsxiv
avoid doing dynamic allocation for bar buffers (#279)
just use a static buffer since the size is constant and doesn't change.
as opposed to using malloc, this also sets the buffer's initial memory
region to 0 by default.
also remove BAR_{L,R}_LEN from nsxiv.h, not needed after commit b4268fbf38
pull/266/head
parent
57ff8afe02
commit
364c3d6f01
Loading…
Reference in New Issue