Xinqi Bao's Git

Refactor keymap.c
authorLaslo Hunhold <[email protected]>
Wed, 23 May 2018 13:29:37 +0000 (15:29 +0200)
committerAaron Marcher <[email protected]>
Wed, 23 May 2018 17:56:16 +0000 (19:56 +0200)
 - 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


No differences found