summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-09-25 13:05:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-09-25 13:05:36 (GMT)
commit214233ffd78420a2b80f5b477ba59a5b65c41c87 (patch)
tree5f64338de08ce72826ca0878c754638fed1587d4 /src/dot.cpp
parent5c424c553763d3f56f56e3fa3336b0f1f4a3c44a (diff)
downloadDoxygen-214233ffd78420a2b80f5b477ba59a5b65c41c87.zip
Doxygen-214233ffd78420a2b80f5b477ba59a5b65c41c87.tar.gz
Doxygen-214233ffd78420a2b80f5b477ba59a5b65c41c87.tar.bz2
Release-1.7.5.1-20110925
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 27e559f..66ec988 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -609,14 +609,11 @@ static void checkDotResult(const QCString &imgName)
{
if (Config_getEnum("DOT_IMAGE_FORMAT")=="png")
{
- //QFile f(imgName);
FILE *f = fopen(imgName,"rb");
- //if (f.open(IO_ReadOnly))
if (f)
{
char data[4];
if (fread(data,1,4,f)==4)
- //if (f.readBlock(data,4)==4)
{
if (!(data[1]=='P' && data[2]=='N' && data[3]=='G'))
{