Fix output of hex values (was decimal)

This commit is contained in:
Keith Winstein
2011-01-10 05:38:53 -05:00
parent 06697abb23
commit c387285a32
+1 -1
View File
@@ -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() );
} }