summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-06-10 09:28:22 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-06-10 09:28:22 (GMT)
commitf397aa6aa3e425c97c7bff085ea1aff7b479d7e8 (patch)
tree6709ddc7b1764dc3b20bbac7eb36c05edcc91e03 /src/commentcnv.l
parentca357c82ca852382fd058698eab646409a015fc1 (diff)
downloadDoxygen-f397aa6aa3e425c97c7bff085ea1aff7b479d7e8.zip
Doxygen-f397aa6aa3e425c97c7bff085ea1aff7b479d7e8.tar.gz
Doxygen-f397aa6aa3e425c97c7bff085ea1aff7b479d7e8.tar.bz2
Release-1.8.1.1
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index f986531..689c274 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -107,12 +107,13 @@ static void replaceCommentMarker(const char *s,int len)
}
if (blanks>0)
{
- while (blanks>1)
+ while (blanks>2)
{
ADDCHAR(' ');
blanks--;
}
- ADDCHAR('*');
+ if (blanks>1) ADDCHAR('*');
+ ADDCHAR(' ');
}
// copy comment line to output
ADDARRAY(p,len-(p-s));