diff options
-rw-r--r-- | src/dot.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 3853487..eb6c03c 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -397,8 +397,7 @@ static bool convertMapFile(FTextStream &t,const char *mapName, { QCString replBuf = replaceRef(buf,relPath,urlOnly,context); int indexS = replBuf.find("id=\""), indexE; - indexE=replBuf.find('"',indexS+4); - if (indexS>=0 && (indexE=buf.find('"',indexS))!=-1) + if (indexS>=0 && (indexE=replBuf.find('"',indexS+4))!=-1) { t << replBuf.left(indexS-1) << replBuf.right(replBuf.length() - indexE - 1); } |