diff options
author | albert-github <albert.tests@gmail.com> | 2014-03-23 11:55:27 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2014-03-23 11:55:27 (GMT) |
commit | 3b339813794390bdce59fa1009cf71506e0cec2b (patch) | |
tree | 88485e077ec038de3bdb1d02c643a5785d2d5cbd | |
parent | 683ef76f7bf1ba929f9c263064bb5f6c8e377275 (diff) | |
download | Doxygen-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).
-rw-r--r-- | src/htmlhelp.cpp | 2 |
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); } |