summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-01-15 16:33:35 +0000
committerRoland McGrath <roland@redhat.com>1995-01-15 16:33:35 +0000
commit2cbfa1024a838447643376ecc1dc148a19d722a5 (patch)
treed0b9df5e91403a781e2d32c5af739fb7ee84166b
parent258dad0f9addb4e05cc19edf5d9d2f7a1f58e49c (diff)
downloadmake-3.72.4.tar.gz
(variable_expand): Fix braino in last change.3.72.4
-rw-r--r--expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index 867cf914..d2d798e3 100644
--- a/expand.c
+++ b/expand.c
@@ -256,7 +256,7 @@ variable_expand (line)
any variable references inside are now expanded.
Is the resultant text a substitution reference? */
- colon = index (beg, ':');
+ colon = lindex (beg, end, ':');
if (colon != 0)
{
/* This looks like a substitution reference: $(FOO:A=B). */