Match \v as escaped character
Thanks Greg for noticing this!
This commit is contained in:
parent
627119df9f
commit
ea986ea504
2
od.c
2
od.c
|
@ -56,7 +56,7 @@ printchar(FILE *f, unsigned char c)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
if (strchr("\a\b\t\n\b\f\r\0", c)) {
|
if (strchr("\a\b\t\n\v\f\r\0", c)) {
|
||||||
fprintf(f, "%3s ", escdict[c]);
|
fprintf(f, "%3s ", escdict[c]);
|
||||||
} else {
|
} else {
|
||||||
fprintf(f, "%3c ", c);
|
fprintf(f, "%3c ", c);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user