summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-09 11:56:47 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-09 11:56:47 (GMT)
commitafecea64c225ec3c8ef9c84235d9fe091af588ca (patch)
treef1831ae2e43ed9bdef79cda65beecdd78575c4e4
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-afecea64c225ec3c8ef9c84235d9fe091af588ca.zip
Doxygen-afecea64c225ec3c8ef9c84235d9fe091af588ca.tar.gz
Doxygen-afecea64c225ec3c8ef9c84235d9fe091af588ca.tar.bz2
Correcting "Definition at line @0 of file @1."
In the LaTeX and RTF documentation where the filename should be presented before the linenumber (e.g. Chinese, Japanese) in the sentence "Definition at line @0 of file @1." neither was shown, the HTML version was correct.
-rw-r--r--src/definition.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index ff30429..92baf0c 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -1034,15 +1034,15 @@ void Definition::writeSourceDef(OutputList &ol,const char *)
ol.pushGeneratorState();
ol.disable(OutputGenerator::Man);
- if (!latexSourceCode)
+ ol.disableAllBut(OutputGenerator::Html);
+ if (latexSourceCode)
{
- ol.disable(OutputGenerator::Latex);
+ ol.enable(OutputGenerator::Latex);
}
- if (!rtfSourceCode)
+ if (rtfSourceCode)
{
- ol.disable(OutputGenerator::RTF);
+ ol.enable(OutputGenerator::RTF);
}
- ol.disableAllBut(OutputGenerator::Html);
// write line link (HTML only)
ol.writeObjectLink(0,fn,anchorStr,lineStr);
ol.enableAll();