summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b832d72..cf7260f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -225,8 +225,9 @@ int T_main(int argc, TCHAR* argv[])
if (!cv2pdb.addPublics())
fatal(SARG ": %s", pdbname, cv2pdb.getLastError());
- if (!cv2pdb.writeImage(outname))
- fatal(SARG ": %s", outname, cv2pdb.getLastError());
+ if (!img.isDBG())
+ if (!cv2pdb.writeImage(outname))
+ fatal(SARG ": %s", outname, cv2pdb.getLastError());
}
return 0;