From c387285a32e8a64f1d81a941e219e832904abcc9 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Mon, 10 Jan 2011 05:38:53 -0500 Subject: [PATCH] Fix output of hex values (was decimal) --- parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.cpp b/parse.cpp index 588fb55..0aac16e 100644 --- a/parse.cpp +++ b/parse.cpp @@ -256,7 +256,7 @@ int vt_parser( struct stripstate *state ) j++ ) { 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 { printf( "[%s] ", j->name.c_str() ); }