summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 61b98a6..eca7298 100644
--- a/main.c
+++ b/main.c
@@ -1782,7 +1782,10 @@ define_makeflags (all, makefile)
}
}
else if (p == &flagstring[1])
- --p;
+ {
+ words = 0;
+ --p;
+ }
else if (p[-1] == '-')
/* Kill the final space and dash. */
p -= 2;