summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-20 20:19:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-20 20:23:59 (GMT)
commit5ea2f2a123e473d5964435369fd925d7f103b456 (patch)
tree5286862c9b66e19784615e102c40500eeea05148
parenta0d41f37768c1cc33d8e2bdbc114a9d7a2cd9a64 (diff)
downloadDoxygen-5ea2f2a123e473d5964435369fd925d7f103b456.zip
Doxygen-5ea2f2a123e473d5964435369fd925d7f103b456.tar.gz
Doxygen-5ea2f2a123e473d5964435369fd925d7f103b456.tar.bz2
Bug 721878 - Dia diagrams not displayed by Firefox
-rw-r--r--src/htmldocvisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 6ccbda4..536259a 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -2040,7 +2040,7 @@ void HtmlDocVisitor::writeMscFile(const QCString &fileName,
}
void HtmlDocVisitor::writeDiaFile(const QCString &fileName,
- const QCString &,
+ const QCString &relPath,
const QCString &)
{
QCString baseName=fileName;
@@ -2057,7 +2057,7 @@ void HtmlDocVisitor::writeDiaFile(const QCString &fileName,
QCString outDir = Config_getString("HTML_OUTPUT");
writeDiaGraphFromFile(fileName,outDir,baseName,DIA_BITMAP);
- m_t << "<img src=\"" << outDir << '/' << baseName << ".png" << "\" />" << endl;
+ m_t << "<img src=\"" << relPath << baseName << ".png" << "\" />" << endl;
}
/** Used for items found inside a paragraph, which due to XHTML restrictions