hexdump: Fix parse format of "byte count without repetition count"

This commit is contained in:
HUANG Wei 2014-08-06 12:20:18 +08:00
parent 6ed7f01127
commit 82233c2a0a
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ void add_fmt(const char *fmt, struct hexdump *hex)
/* Skip slash and trailing white space. */
if (*p == '/')
p = skip_space(p);
p = skip_space(++p);
/* byte count */
if (isdigit(*p)) {