summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-12 14:10:27 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-10-12 14:10:27 (GMT)
commit93d1c4621df42ee41d7197aca27c8cf2ce8437d7 (patch)
tree9c4902ac1025efaa7d0d6ce469d12344694a48b1 /src/pagedef.cpp
parent9631035b36ade05bed6a71bcbc86d17f8b7c9cab (diff)
downloadDoxygen-93d1c4621df42ee41d7197aca27c8cf2ce8437d7.zip
Doxygen-93d1c4621df42ee41d7197aca27c8cf2ce8437d7.tar.gz
Doxygen-93d1c4621df42ee41d7197aca27c8cf2ce8437d7.tar.bz2
Bug 709803 - Generated hhc file contains an error for a section of a mainpage
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 0133be1..3c9e1b6 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -61,10 +61,10 @@ QCString PageDef::getOutputFileBase() const
return m_fileName;
}
-void PageDef::setFileName(const char *name)
+void PageDef::setFileName(const char *name,bool dontEscape)
{
static bool shortNames = Config_getBool("SHORT_NAMES");
- if (shortNames)
+ if (shortNames && !dontEscape)
{
m_fileName = convertNameToFile(name);
}