commit | 2cbfa1024a838447643376ecc1dc148a19d722a5 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Sun Jan 15 16:33:35 1995 +0000 |
committer | Roland McGrath <roland@redhat.com> | Sun Jan 15 16:33:35 1995 +0000 |
tree | d0b9df5e91403a781e2d32c5af739fb7ee84166b | |
parent | 258dad0f9addb4e05cc19edf5d9d2f7a1f58e49c [diff] |
(variable_expand): Fix braino in last change.
diff --git a/expand.c b/expand.c index 867cf91..d2d798e 100644 --- a/expand.c +++ b/expand.c
@@ -256,7 +256,7 @@ 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). */