summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-23 21:44:04 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-23 21:44:04 +0200
commitf622107592ef52b70a06e491c344aa0f12eba1e0 (patch)
tree6bd57d569a7b04131b6811f870991c22ce7ac741 /degesch.c
parent67b67cb17143f84bf7df99f5e0950fc2f550a5ad (diff)
downloadxK-f622107592ef52b70a06e491c344aa0f12eba1e0.tar.gz
xK-f622107592ef52b70a06e491c344aa0f12eba1e0.tar.xz
xK-f622107592ef52b70a06e491c344aa0f12eba1e0.zip
degesch: fix regression in alias expansion
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index e528d5c..734f07e 100644
--- a/degesch.c
+++ b/degesch.c
@@ -8175,7 +8175,7 @@ expand_alias_definition (const struct str *definition, const char *arguments,
{
if (escape)
{
- p = expand_alias_escape (p, arguments, &expanded);
+ p = expand_alias_escape (p, arguments, &expanded) - 1;
escape = false;
}
else if (*p == ';')