Commit ed6e1dfc authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winedump: Consistently print hex numbers with leading zeros and 'h' suffix.

parent a6d08adc
......@@ -204,7 +204,7 @@ static int print_hex(const char *name)
{
int ret;
print_offset();
printf("%s = %08x\n", name, ret=tlb_read_int());
printf("%s = %08xh\n", name, ret=tlb_read_int());
return ret;
}
......@@ -219,7 +219,7 @@ static int print_short_hex(const char *name)
{
int ret;
print_offset();
printf("%s = %xh\n", name, ret=tlb_read_short());
printf("%s = %04xh\n", name, ret=tlb_read_short());
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment