Rearranged debug options.

committer: mfx <mfx> 1139916141 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2006-02-14 11:22:21 +00:00
parent 304ba57dad
commit cdd117bfb9
6 changed files with 47 additions and 31 deletions
+2 -2
View File
@@ -411,7 +411,7 @@ void PackExe::pack(OutputFile *fo)
throwCantPack("decompressor limit exceeded, send a bugreport");
#ifdef TESTING
if (opt->debug)
if (opt->debug.debug_level)
{
printf("image+relocs %d -> %d\n",ih_imagesize+relocsize,ph.c_len);
printf("offsets: %d - %d\nmatches: %d - %d\nruns: %d - %d\n",
@@ -527,7 +527,7 @@ void PackExe::pack(OutputFile *fo)
// write header + write loader + compressed file
#ifdef TESTING
if (opt->debug)
if (opt->debug.debug_level)
printf("\n%d %d %d %d\n",(int)sizeof(oh),e_len,packedsize,d_len);
#endif
fo->write(&oh,sizeof(oh));