diff options
author | Darkvater <darkvater@openttd.org> | 2006-04-22 13:56:16 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-04-22 13:56:16 +0000 |
commit | 5a8d992eaad001fc73d5b14a389ece7e4d95897e (patch) | |
tree | f8cd633aad6536932155068f74bc9f8e1a346ebb /oldloader.c | |
parent | db377b973871e8f270a3dd5ba723ed6a7eea8ec5 (diff) | |
download | openttd-5a8d992eaad001fc73d5b14a389ece7e4d95897e.tar.xz |
(svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c index 644d76be8..59fffc7da 100644 --- a/oldloader.c +++ b/oldloader.c @@ -211,7 +211,7 @@ static bool LoadChunk(LoadgameState *ls, void *base, const OldChunks *chunks) break; case OC_ASSERT: - DEBUG(oldloader, 4)("[OldLoader] Assert point: %x / %x", ls->total_read, chunk->offset + _bump_assert_value); + DEBUG(oldloader, 4)("[OldLoader] Assert point: 0x%X / 0x%X", ls->total_read, chunk->offset + _bump_assert_value); if (ls->total_read != chunk->offset + _bump_assert_value) ls->failed = true; default: break; } |