1.1 --- a/fsaccess/input.c Sat May 11 19:17:09 2024 +0200
1.2 +++ b/fsaccess/input.c Sat May 11 22:28:09 2024 +0200
1.3 @@ -54,7 +54,7 @@
1.4 args[*num_args] = start;
1.5 (*num_args)++;
1.6
1.7 - /* NOTE: Only handling spaces as delimiters. */
1.8 + /* NOTE: Only handling regions of spaces as delimiters. */
1.9
1.10 start = strchr(start, ' ');
1.11
1.12 @@ -62,8 +62,13 @@
1.13 {
1.14 *start = '\0';
1.15
1.16 - if (start < end)
1.17 + while (start < end)
1.18 + {
1.19 start++;
1.20 +
1.21 + if (*start != ' ')
1.22 + break;
1.23 + }
1.24 }
1.25 }
1.26 }