Skip to content

Commit

Permalink
Bug 721878 - Dia diagrams not displayed by Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jan 20, 2014
1 parent a0d41f3 commit 5ea2f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/htmldocvisitor.cpp
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 5ea2f2a

Please sign in to comment.