[1/7] winedump: Make output of dump_data fit into 80 columns
Dmitry Timoshkov
dmitry at codeweavers.com
Thu Dec 7 07:42:44 CST 2006
Hello,
Changelog:
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);
}
--
1.4.4.1
More information about the wine-patches
mailing list