winedump: Consistently print hex numbers with leading zeros and 'h' suffix.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a6d08adcdb
commit
ed6e1dfc72
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue