Fix output of hex values (was decimal)
This commit is contained in:
@@ -256,7 +256,7 @@ int vt_parser( struct stripstate *state )
|
|||||||
j++ ) {
|
j++ ) {
|
||||||
|
|
||||||
if ( j->char_present ) {
|
if ( j->char_present ) {
|
||||||
printf( "%s(0x%02d=%lc) ", j->name.c_str(), j->ch, j->ch );
|
printf( "%s(0x%02x=%lc) ", j->name.c_str(), j->ch, j->ch );
|
||||||
} else {
|
} else {
|
||||||
printf( "[%s] ", j->name.c_str() );
|
printf( "[%s] ", j->name.c_str() );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user