diff options
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index e92cc3f13c..21df78b16f 100644 --- a/input/input.c +++ b/input/input.c @@ -719,6 +719,10 @@ mp_input_parse_cmd(char* str) { assert(str != NULL); #endif + // Ignore heading spaces. + while (str[0] == ' ' || str[0] == '\t') + ++str; + if (strncmp(str, "pausing ", 8) == 0) { pausing = 1; str = &str[8]; |