summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-15 11:06:23 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-15 11:06:23 (GMT)
commit939eca311ced62d9cb41d8e3c1acc207c99e09ed (patch)
treeeffe0e23ef697b46554c1acefcb8851490dcf918
parent01ded6f6963d4798ce1338246d6d946dbc3922d9 (diff)
downloadDoxygen-939eca311ced62d9cb41d8e3c1acc207c99e09ed.zip
Doxygen-939eca311ced62d9cb41d8e3c1acc207c99e09ed.tar.gz
Doxygen-939eca311ced62d9cb41d8e3c1acc207c99e09ed.tar.bz2
Incorrect label / name in case regeneration of HTML without regeneration of dot files
This is a further regression on #7840. In case we regenerate the HTML files but not the image files based on dot we get incorrect labels for the id / name in the HTML output.
-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())->