aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-09 18:11:20 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-09 22:01:07 +0200
commit81abbb8d3ba808d5ac87dc3c087881482beb88b7 (patch)
treeda84b9943355009c04697a46e869734dfa9f2e2c
parent7149995536739b984a2a832f8ee725e9de3832dc (diff)
downloadbuild-81abbb8d3ba808d5ac87dc3c087881482beb88b7.tar.gz
Process first character of line too
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index b98ac6b..6db1aed 100644
--- a/build.c
+++ b/build.c
@@ -82,7 +82,7 @@ main(int argc, char *argv[])
/* parse line */
b = buf;
- for (b++; *b; b++) {
+ for (; *b; b++) {
/* command line */
if (strncmp(b, " $ ", 3) == 0
|| strncmp(b, " $ ", 3) == 0) {