summaryrefslogtreecommitdiffstats
path: root/src/filedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.h')
-rw-r--r--src/filedef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filedef.h b/src/filedef.h
index dea9e73..fe3a761 100644
--- a/src/filedef.h
+++ b/src/filedef.h
@@ -124,7 +124,8 @@ class FileDef : public Definition
//void setGenerateSource(bool b) { isSource=b; }
bool generateSourceFile() const
{ return !isReference() &&
- (Config::sourceBrowseFlag || Config::verbatimHeaderFlag);
+ (Config::sourceBrowseFlag || Config::verbatimHeaderFlag) &&
+ name().right(4)!=".doc" && name().right(4)!=".txt";
}
void addIncludeDependency(FileDef *fd,const char *incName,bool local);