summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index e448094..59f0b90 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3266,7 +3266,8 @@ void writeGraphInfo(OutputList &ol)
QCString legendDocs = theTranslator->trLegendDocs();
int s = legendDocs.find("<center>");
int e = legendDocs.find("</center>");
- if (Config_getEnum("DOT_IMAGE_FORMAT")=="svg" && s!=-1 && e!=-1)
+ QCString imgExt = getDotImageExtension();
+ if (imgExt=="svg" && s!=-1 && e!=-1)
{
legendDocs = legendDocs.left(s+8) + "[!-- SVG 0 --]\n" + legendDocs.mid(e);
//printf("legendDocs=%s\n",legendDocs.data());