summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
authorluca-aep <67954834+luca-aep@users.noreply.github.com>2020-09-16 19:03:18 (GMT)
committerGitHub <noreply@github.com>2020-09-16 19:03:18 (GMT)
commit49ed5387d6a80bbbff3544293cd30c0184abd1ec (patch)
tree935e62f9ac4304ec282537e2e2768fd011004f08 /src/searchindex.cpp
parent544843db399c51b77674755f70992f0bdc8403ea (diff)
downloadDoxygen-49ed5387d6a80bbbff3544293cd30c0184abd1ec.zip
Doxygen-49ed5387d6a80bbbff3544293cd30c0184abd1ec.tar.gz
Doxygen-49ed5387d6a80bbbff3544293cd30c0184abd1ec.tar.bz2
Proposed fix for issue #7898 (#8029)
* Proposed fix for issue #7898 - Internal search engine produce ".html" pages instead of using HTML_FILE_EXTENSION * Applied albert-github suggestions to proposed fix for issue #7898
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index ec7f7d6..d9e5c99 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -956,7 +956,7 @@ void writeJavaScriptSearchIndex()
QCString baseName;
baseName.sprintf("%s_%x",g_searchIndexInfo[i].name.data(),p);
- QCString fileName = searchDirName + "/"+baseName+".html";
+ QCString fileName = searchDirName + "/"+baseName+Doxygen::htmlFileExtension;
QCString dataFileName = searchDirName + "/"+baseName+".js";
QFile outFile(fileName);
@@ -1268,7 +1268,7 @@ void writeJavaScriptSearchIndex()
ResourceMgr::instance().copyResource("search.js",searchDirName);
}
{
- QFile f(searchDirName+"/nomatches.html");
+ QFile f(searchDirName+"/nomatches"+Doxygen::htmlFileExtension);
if (f.open(IO_WriteOnly))
{
FTextStream t(&f);