summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
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;
}