diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 | ||||
-rw-r--r-- | src/util.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 4324ffd..1016625 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6592,7 +6592,7 @@ QCString addHtmlExtensionIfMissing(const char *fName) { if (fName==0) return fName; const char *p = strchr(fName,'.'); - if (p) + if (p==nullptr) // no extension { return QCString(fName)+Doxygen::htmlFileExtension; } @@ -30,6 +30,7 @@ #include "sortdict.h" #include "docparser.h" #include "classdef.h" +#include "arguments.h" //-------------------------------------------------------------------- |