vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: c2b2780cf93b20162b585e5dac1ae6b76cecd3af
Parent: 65ceedf4ddda8575a943d9e3aa8b767520fcb6c7
Author: Randy Palamar
Date:   Tue,  3 Sep 2024 22:48:16 -0600

stb_truetype: remove one missed bogus NULL check

Diffstat:
Mextern/stb_truetype.h | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/extern/stb_truetype.h b/extern/stb_truetype.h @@ -2563,8 +2563,6 @@ static void *stbtt__hheap_alloc(Arena *a, stbtt__hheap *hh, size_t size) if (hh->num_remaining_in_head_chunk == 0) { int count = (size < 32 ? 2000 : size < 128 ? 800 : 100); stbtt__hheap_chunk *c = alloc_(a, sizeof(stbtt__hheap_chunk) + size * count, _Alignof(stbtt__hheap_chunk), 1); - if (c == NULL) - return NULL; c->next = hh->head; hh->head = c; hh->num_remaining_in_head_chunk = count;