Skip to content

Commit 125b939

Browse files
committed
Fixes missing include and missing html extension logic
1 parent 0a40a4d commit 125b939

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6592,7 +6592,7 @@ QCString addHtmlExtensionIfMissing(const char *fName)
65926592
{
65936593
if (fName==0) return fName;
65946594
const char *p = strchr(fName,'.');
6595-
if (p)
6595+
if (p==nullptr) // no extension
65966596
{
65976597
return QCString(fName)+Doxygen::htmlFileExtension;
65986598
}

src/util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "sortdict.h"
3131
#include "docparser.h"
3232
#include "classdef.h"
33+
#include "arguments.h"
3334

3435
//--------------------------------------------------------------------
3536

0 commit comments

Comments
 (0)