summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-04-13 16:45:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-04-13 16:45:09 (GMT)
commit3608a668b3892eaa4f7b2e4b29b833ede24ceee7 (patch)
treea55ee065964ec5e0b5dc8aa5900749b51e905662 /src
parent50a329c056a2676608f30321a3207ff17ab20abb (diff)
downloadDoxygen-3608a668b3892eaa4f7b2e4b29b833ede24ceee7.zip
Doxygen-3608a668b3892eaa4f7b2e4b29b833ede24ceee7.tar.gz
Doxygen-3608a668b3892eaa4f7b2e4b29b833ede24ceee7.tar.bz2
Bug 747780 - man output should escape minus signs
Escaped minus sign
Diffstat (limited to 'src')
-rw-r--r--src/mangen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp
index 77aa07d..a88ac26 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -306,6 +306,7 @@ void ManGenerator::docify(const char *str)
{
switch(c)
{
+ case '-': t << "\\-"; break; // see bug747780
case '.': t << "\\&."; break; // see bug652277
case '\\': t << "\\\\"; col++; break;
case '\n': t << "\n"; col=0; break;