diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-25 11:37:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-25 11:37:04 (GMT) |
commit | 125b9390c45f43563d0ddf097f780d2fdc23cf65 (patch) | |
tree | 73a25b5a9462e087e86ccb684612a75e11773ed6 /src/util.cpp | |
parent | 0a40a4d251273f47773254f57ce049a25fa447e6 (diff) | |
download | Doxygen-125b9390c45f43563d0ddf097f780d2fdc23cf65.zip Doxygen-125b9390c45f43563d0ddf097f780d2fdc23cf65.tar.gz Doxygen-125b9390c45f43563d0ddf097f780d2fdc23cf65.tar.bz2 |
Fixes missing include and missing html extension logic
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; } |