summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--expac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/expac.c b/expac.c
index ddcb83b..0c1a2e0 100644
--- a/expac.c
+++ b/expac.c
@@ -627,6 +627,7 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) {
} else if (*f == '\\') {
char esc[3] = { f[0], f[1], '\0' };
out += print_escaped(esc);
+ ++f;
} else {
fputc(*f, stdout);
out++;