diff options
Diffstat (limited to 'src/minibuffer.c')
| -rw-r--r-- | src/minibuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minibuffer.c b/src/minibuffer.c index 41c669c..0d7f4e5 100644 --- a/src/minibuffer.c +++ b/src/minibuffer.c @@ -40,7 +40,7 @@ int32_t execute(struct command_ctx ctx, int argc, const char *argv[]) { uint8_t byte = line.text[bytei]; if (byte == ' ') { l[bytei] = '\0'; - argv[argc] = l + bytei; + argv[argc] = l + bytei + 1; ++argc; } } |
