winedump: Make output of dump_data fit into 80 columns.

This commit is contained in:
Dmitry Timoshkov 2006-12-07 21:42:44 +08:00 committed by Alexandre Julliard
parent 046814701e
commit 53e89174c0
1 changed files with 5 additions and 5 deletions

View File

@ -145,7 +145,7 @@ static void pdb_exit(struct pdb_reader* reader)
size = pdb_get_file_size(reader, i); size = pdb_get_file_size(reader, i);
printf("File --unused-- #%d (%x)\n", i, size); printf("File --unused-- #%d (%x)\n", i, size);
dump_data(file, size, "\t"); dump_data(file, size, " ");
free((char*)file); free((char*)file);
} }
#endif #endif
@ -204,7 +204,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
printf("\t----------offsets------------\n"); printf("\t----------offsets------------\n");
src = (const BYTE*)((const char*)symbols + sizeof(PDB_SYMBOLS) + symbols->module_size); 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) if (symbols->srcmodule_size)
@ -396,13 +396,13 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
if (symbol_size) if (symbol_size)
codeview_dump_symbols((const char*)modimage + sizeof(DWORD), symbol_size); codeview_dump_symbols((const char*)modimage + sizeof(DWORD), symbol_size);
/* what's that part ??? */ /* what's that part ??? */
if (0) 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); free((char*)modimage);
} }
file_name += strlen(file_name) + 1; file_name += strlen(file_name) + 1;
file = (char*)((DWORD)(file_name + strlen(file_name) + 1 + 3) & ~3); file = (char*)((DWORD)(file_name + strlen(file_name) + 1 + 3) & ~3);
} }