summaryrefslogtreecommitdiffstats
path: root/src/dotgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotgraph.cpp')
-rw-r--r--src/dotgraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotgraph.cpp b/src/dotgraph.cpp
index 1ad85e1..287793e 100644
--- a/src/dotgraph.cpp
+++ b/src/dotgraph.cpp
@@ -239,7 +239,7 @@ void DotGraph::generateCode(FTextStream &t)
t << "<img src=\"" << relImgName() << "\" border=\"0\" usemap=\"#" << correctId(getMapLabel()) << "\" alt=\"" << getImgAltText() << "\"/>";
if (!m_noDivTag) t << "</div>";
t << endl;
- if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, getMapLabel()))
+ if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, correctId(getMapLabel())))
{
int mapId = DotManager::instance()->
createFilePatcher(m_fileName.data())->