diff options
author | Laslo Hunhold <dev@frign.de> | 2018-05-23 15:29:37 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-23 19:56:16 +0200 |
commit | f17f39d0a2e2898177dbcf5daf67284956005b9b (patch) | |
tree | 5d848ef76c4ef0dd652d4dc0b63ceaa8c19bfd1d /util.h | |
parent | 13d77cd268bade5e9ee9c07d9b94ca7c733cbe3d (diff) |
Refactor keymap.c
- Get rid of camel-casing
- Don't use all-caps for variable names
- use LEN()-macro
- use strncmp() rather than strstr() for prefix-checking
- clean up the tokenizer-loop and don't use copies
- make the loop more readable by separating different breaking
conditions
- stricter error-checking and cleanup
- store the layout directly with bprintf rather than having
a separate buffer
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions