diff options
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 1e5666a..ebe994c 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -813,11 +813,11 @@ void HtmlGenerator::endClassDiagram(ClassDiagram &d, const char *fileName,const char *name) { t << "\n<p><center><img src=\"" - << fileName << ".png\" usemap=\"#" << name << "_map\"" + << relPath << fileName << ".png\" usemap=\"#" << name << "_map\"" << " border=\"0\" alt=\"\"></center>" << endl << "<map name=\"" << name << "_map\">" << endl; - d.writeImage(t,dir,fileName); + d.writeImage(t,dir,relPath,fileName); } |