aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-22 01:53:11 +0600
committerGitHub <noreply@github.com>2021-09-22 01:53:11 +0600
commitc093eae9712e79cba958ab49457b4f2912fd95d7 (patch)
tree2797bc664e118c96bd03f9cded65bc7b2cf99148 /util.c
parent9c3310b6761513e9454f293bd6cfcc6cf7f54921 (diff)
code-style: use constant length array (#79)
currently the code-base doesn't make use of variable length array despite being -std=c99. it was irresponsible of me to introduce VLA in here. since this function will be called quite often, i did not want to make calls to malloc and free as they have some overhead. 512 should be sufficient enough and probably is far bigger than any window title bar can display anyways.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions