summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r--src/mangen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp
index 87ddde6..88bfba3 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -279,6 +279,7 @@ void ManGenerator::docify(const char *str)
{
switch(c)
{
+ case '.': t << "\\&."; break; // see bug652277
case '\\': t << "\\\\"; col++; break;
case '\n': t << "\n"; col=0; break;
case '\"': c = '\''; // no break!
@@ -304,6 +305,7 @@ void ManGenerator::codify(const char *str)
c=*p++;
switch(c)
{
+ case '.': t << "\\&."; break; // see bug652277
case '\t': spacesToNextTabStop =
Config_getInt("TAB_SIZE") - (col%Config_getInt("TAB_SIZE"));
t << Doxygen::spaces.left(spacesToNextTabStop);