diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-04-27 10:10:35 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-04-27 10:10:35 -0400 |
commit | 7a7340505092c3b61d9a084a11f6ac895481c593 (patch) | |
tree | 77eb96feefa0c4f4b76db7a36ff7b70648150965 | |
parent | 9e687f4f26adf6cc965d4b45be7953b76c418659 (diff) | |
download | expac-7a7340505092c3b61d9a084a11f6ac895481c593.tar.xz |
restore missing pointer increment when printing escapes
Fixes regression caused by refactoring in 257d1e7845, and GHI#16.
-rw-r--r-- | expac.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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++; |