Module: wine Branch: master Commit: 53e89174c0da98723a1fbfb41432b3163396ef28 URL: http://source.winehq.org/git/wine.git/?a=commit;h=53e89174c0da98723a1fbfb414...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Thu Dec 7 21:42:44 2006 +0800
winedump: Make output of dump_data fit into 80 columns.
---
tools/winedump/pdb.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/winedump/pdb.c b/tools/winedump/pdb.c index 0310ab7..93df303 100644 --- a/tools/winedump/pdb.c +++ b/tools/winedump/pdb.c @@ -145,7 +145,7 @@ static void pdb_exit(struct pdb_reader* size = pdb_get_file_size(reader, i);
printf("File --unused-- #%d (%x)\n", i, size); - dump_data(file, size, "\t"); + dump_data(file, size, " "); free((char*)file); } #endif @@ -204,7 +204,7 @@ static void pdb_dump_symbols(struct pdb_
printf("\t----------offsets------------\n"); src = (const BYTE*)((const char*)symbols + sizeof(PDB_SYMBOLS) + symbols->module_size); - dump_data(src, symbols->offset_size, "\t\t"); + dump_data(src, symbols->offset_size, " "); }
if (symbols->srcmodule_size) @@ -396,13 +396,13 @@ static void pdb_dump_symbols(struct pdb_
if (symbol_size) codeview_dump_symbols((const char*)modimage + sizeof(DWORD), symbol_size); - + /* what's that part ??? */ if (0) - dump_data(modimage + symbol_size + lineno_size, total_size - (symbol_size + lineno_size), "\t\t\t"); + dump_data(modimage + symbol_size + lineno_size, total_size - (symbol_size + lineno_size), " "); free((char*)modimage); } - + file_name += strlen(file_name) + 1; file = (char*)((DWORD)(file_name + strlen(file_name) + 1 + 3) & ~3); }