summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-06-27 14:04:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-06-27 14:04:59 (GMT)
commit1c55b572b345bf124daaa33d436d2e822b5f6eee (patch)
tree66a9e46b7cd28e263441cf7cb7c18cb5c2cd29c6 /src/latexgen.cpp
parent154e877cc2e8b10091d7e0068b6f6d5793cd29f3 (diff)
downloadDoxygen-1c55b572b345bf124daaa33d436d2e822b5f6eee.zip
Doxygen-1c55b572b345bf124daaa33d436d2e822b5f6eee.tar.gz
Doxygen-1c55b572b345bf124daaa33d436d2e822b5f6eee.tar.bz2
Bug 784322 - .tex file is wrong when generating a function whose name includes an underline
Correctly write the text to the text file (i.e. escape some characters)
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 076b354..ee29edc 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -2150,7 +2150,7 @@ void LatexGenerator::endParameterList()
void LatexGenerator::startParameterType(bool first,const char *key)
{
t << "\\item[{";
- if (!first && key) t << key;
+ if (!first && key) docify(key);
}
void LatexGenerator::endParameterType()