(collapse_continuations): Fix skipping of trailing \s so it can never

dereference before the beginning of the array.
This commit is contained in:
Roland McGrath 1995-12-12 04:24:17 +00:00
parent dfdf1bec21
commit 76d037cb95

5
misc.c
View file

@ -50,9 +50,8 @@ collapse_continuations (line)
return; return;
out = in; out = in;
if (out > line) while (out > line && out[-1] == '\\')
while (out[-1] == '\\') --out;
--out;
while (*in != '\0') while (*in != '\0')
{ {