summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristoph Lipka <c-lipka@users.noreply.github.com>2018-04-14 08:14:05 (GMT)
committerChristoph Lipka <c-lipka@users.noreply.github.com>2018-04-14 08:14:05 (GMT)
commitb1792d19afd245f33667e6170b9f08a8528e07f8 (patch)
tree8cd36e49504d360ddbc76f735820e32ba17e18c6 /src
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-b1792d19afd245f33667e6170b9f08a8528e07f8.zip
Doxygen-b1792d19afd245f33667e6170b9f08a8528e07f8.tar.gz
Doxygen-b1792d19afd245f33667e6170b9f08a8528e07f8.tar.bz2
Bug 795252 - Broken extension test in FileDef::generateSourceFile()
Diffstat (limited to 'src')
-rw-r--r--src/filedef.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 2cfe37a..74c4c67 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1425,8 +1425,7 @@ bool FileDef::generateSourceFile() const
(sourceBrowser ||
(verbatimHeaders && guessSection(name())==Entry::HEADER_SEC)
) &&
- extension!=".doc" && extension!=".txt" && extension!=".dox" &&
- extension!=".md" && name().right(9)!=".markdown";
+ !isDocumentationFile();
}