Sun, 26 Nov 2023 22:22:12 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/shell/shelf.c
→
src/shell/shelf.c
@@ -47,7 +47,7 @@ char *file = buffer;
char *args = (char *)(0); int i = 0; - while (1) { + while (buffer[i]) { if (buffer[i] == ' ') { buffer[i] = 0; args = &(buffer[i+1]);