diff options
Diffstat (limited to 'input/keycodes.c')
-rw-r--r-- | input/keycodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/keycodes.c b/input/keycodes.c index 5108a8beae..e5ca0bf77d 100644 --- a/input/keycodes.c +++ b/input/keycodes.c @@ -305,7 +305,7 @@ int mp_input_get_keys_from_string(char *name, int max_num_keys, ptr = name; n = 0; - for (end = strchr(ptr, '-'); ptr != NULL; end = strchr(ptr, '-')) { + for (end = strchr(ptr, '-'); ; end = strchr(ptr, '-')) { if (end && end[1] != '\0') { if (end[1] == '-') end = &end[1]; |