summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-03-23 11:55:27 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-03-23 11:55:27 (GMT)
commit3b339813794390bdce59fa1009cf71506e0cec2b (patch)
tree88485e077ec038de3bdb1d02c643a5785d2d5cbd /src/htmlhelp.cpp
parent683ef76f7bf1ba929f9c263064bb5f6c8e377275 (diff)
downloadDoxygen-3b339813794390bdce59fa1009cf71506e0cec2b.zip
Doxygen-3b339813794390bdce59fa1009cf71506e0cec2b.tar.gz
Doxygen-3b339813794390bdce59fa1009cf71506e0cec2b.tar.bz2
Chm don't add images multiple times
Don 't add image to list in case it is already present (happened for image extsearch_flow.png in the doxygen manual).
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index 754893d..a5bce1b 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -693,6 +693,6 @@ void HtmlHelp::addIndexItem(Definition *context,MemberDef *md,
void HtmlHelp::addImageFile(const char *fileName)
{
- imageFiles.append(fileName);
+ if (!imageFiles.contains(fileName)) imageFiles.append(fileName);
}