treewide: fix typos

Signed-off-by: Diego Viola <diego.viola@gmail.com>
This commit is contained in:
Diego Viola 2026-02-28 04:26:42 -03:00
parent 1ce992d7cb
commit 6d9aa17572
13 changed files with 15 additions and 15 deletions

View file

@ -14,7 +14,7 @@ bool array_realloc(struct wl_array *arr, size_t size) {
// If the size is less than 1/4th of the allocation size, we shrink it.
// 1/4th is picked to provide hysteresis, without which an array with size
// arr->alloc would constantly reallocate if an element is added and then
// removed continously.
// removed continuously.
size_t alloc;
if (arr->alloc > 0 && size > arr->alloc / 4) {
alloc = arr->alloc;