diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 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; } |