summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
-rw-r--r--src/util.h1
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;
}
diff --git a/src/util.h b/src/util.h
index 7518330..a34a53c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -30,6 +30,7 @@
#include "sortdict.h"
#include "docparser.h"
#include "classdef.h"
+#include "arguments.h"
//--------------------------------------------------------------------