From 7a7340505092c3b61d9a084a11f6ac895481c593 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 27 Apr 2014 10:10:35 -0400 Subject: restore missing pointer increment when printing escapes Fixes regression caused by refactoring in 257d1e7845, and GHI#16. --- expac.c | 1 + 1 file changed, 1 insertion(+) 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++; -- cgit v1.2.3-70-g09d2