summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-23 15:18:46 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-23 15:18:46 (GMT)
commitcc39c80d99215a9e83b814e37231f3142d285b4e (patch)
tree54db6cc30df97ab42a997487649ea0625258b08c /src/htmlhelp.cpp
parent2790daaa7799fc3148b8106b357da9f8e9f4a07f (diff)
parent3b339813794390bdce59fa1009cf71506e0cec2b (diff)
downloadDoxygen-cc39c80d99215a9e83b814e37231f3142d285b4e.zip
Doxygen-cc39c80d99215a9e83b814e37231f3142d285b4e.tar.gz
Doxygen-cc39c80d99215a9e83b814e37231f3142d285b4e.tar.bz2
Merge pull request #147 from albert-github/feature/bug_chm_multiple_images
Chm don't add images multiple times
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 c4b8950..c1e535d 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -709,6 +709,6 @@ void HtmlHelp::addIndexItem(Definition *context,MemberDef *md,
void HtmlHelp::addImageFile(const char *fileName)
{
- imageFiles.append(fileName);
+ if (!imageFiles.contains(fileName)) imageFiles.append(fileName);
}