summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRainer Schuetze <r.sagitario@gmx.de>2018-03-30 09:40:26 (GMT)
committerRainer Schuetze <r.sagitario@gmx.de>2018-03-30 09:40:26 (GMT)
commitd67da0ec9481ca3ffe878ca68dfb64909040e231 (patch)
tree2819e269661a9ee6a0a7654ff49c7225806459b1 /src/main.cpp
parentab4b0b1946295f9762ec3ed83a7c84cc8b7aa975 (diff)
downloadcv2pdb-d67da0ec9481ca3ffe878ca68dfb64909040e231.zip
cv2pdb-d67da0ec9481ca3ffe878ca68dfb64909040e231.tar.gz
cv2pdb-d67da0ec9481ca3ffe878ca68dfb64909040e231.tar.bz2
add partial support to convert DBG to PDB
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;