summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9c17a34..61b98a6 100644
--- a/main.c
+++ b/main.c
@@ -1781,6 +1781,8 @@ define_makeflags (all, makefile)
p += sizeof ref - 1;
}
}
+ else if (p == &flagstring[1])
+ --p;
else if (p[-1] == '-')
/* Kill the final space and dash. */
p -= 2;