degesch: fix regression in alias expansion

This commit is contained in:
Přemysl Eric Janouch 2015-07-23 21:44:04 +02:00
parent 67b67cb171
commit f622107592

View File

@ -8175,7 +8175,7 @@ expand_alias_definition (const struct str *definition, const char *arguments,
{ {
if (escape) if (escape)
{ {
p = expand_alias_escape (p, arguments, &expanded); p = expand_alias_escape (p, arguments, &expanded) - 1;
escape = false; escape = false;
} }
else if (*p == ';') else if (*p == ';')