Commit 5ea2f2a1 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 721878 - Dia diagrams not displayed by Firefox

parent a0d41f37
...@@ -2040,7 +2040,7 @@ void HtmlDocVisitor::writeMscFile(const QCString &fileName, ...@@ -2040,7 +2040,7 @@ void HtmlDocVisitor::writeMscFile(const QCString &fileName,
} }
void HtmlDocVisitor::writeDiaFile(const QCString &fileName, void HtmlDocVisitor::writeDiaFile(const QCString &fileName,
const QCString &, const QCString &relPath,
const QCString &) const QCString &)
{ {
QCString baseName=fileName; QCString baseName=fileName;
...@@ -2057,7 +2057,7 @@ void HtmlDocVisitor::writeDiaFile(const QCString &fileName, ...@@ -2057,7 +2057,7 @@ void HtmlDocVisitor::writeDiaFile(const QCString &fileName,
QCString outDir = Config_getString("HTML_OUTPUT"); QCString outDir = Config_getString("HTML_OUTPUT");
writeDiaGraphFromFile(fileName,outDir,baseName,DIA_BITMAP); 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 /** Used for items found inside a paragraph, which due to XHTML restrictions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment