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 | 573d2e40fe109332354fbe9cd83205fd8ac72d3f (patch) | |
tree | 5d848ef76c4ef0dd652d4dc0b63ceaa8c19bfd1d /Makefile | |
parent | 865534f34d7155ff971af5abf1fd366a8fef6ab5 (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 'Makefile')
0 files changed, 0 insertions, 0 deletions