Bugfix: config parser was skipping the last token at eof if not followed by newline.
This commit is contained in:
parent
c509e46926
commit
b2ecfbff26
|
@ -1851,6 +1851,7 @@ read_config_file(void)
|
|||
case ' ':
|
||||
case '\t':
|
||||
case '\n':
|
||||
case '\0': // no newline at eof
|
||||
if (!strcmp(tok, "RELEASE"))
|
||||
add_keystroke(tok, PRESS_RELEASE);
|
||||
else if (!strcmp(tok, "SHIFT"))
|
||||
|
|
Loading…
Reference in New Issue