summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-08-10 22:03:03 +0000
committerRoland McGrath <roland@redhat.com>1992-08-10 22:03:03 +0000
commitccff1cc0d28d7bce8d5277a767ab8dd173013110 (patch)
treed0ad8dfeed5bb8cde14d5c43a20276ec1eae2bed
parent47707f76cbc10480defe5a1f074aa8825298ee72 (diff)
downloadgunmake-ccff1cc0d28d7bce8d5277a767ab8dd173013110.tar.gz
Formerly function.c.~20~
-rw-r--r--function.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/function.c b/function.c
index 541c4ac..993667f 100644
--- a/function.c
+++ b/function.c
@@ -423,6 +423,8 @@ expand_function (o, function, text, end)
{
if (buffer[i - 1] == '\n')
buffer[--i] = '\0';
+ else
+ buffer[i] = '\0';
p = buffer;
while ((p = index (p, '\n')) != 0)
*p++ = ' ';