diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2012-06-10 09:28:22 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2012-06-10 09:28:22 (GMT) |
commit | f397aa6aa3e425c97c7bff085ea1aff7b479d7e8 (patch) | |
tree | 6709ddc7b1764dc3b20bbac7eb36c05edcc91e03 /src/commentcnv.l | |
parent | ca357c82ca852382fd058698eab646409a015fc1 (diff) | |
download | Doxygen-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.l | 5 |
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)); |