aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-12-01 01:56:34 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-12-01 01:56:34 +0000
commit909f007fb8e1ba0d63407c9861bf60ed6d40ceac (patch)
treee61de5aeaf2a9f0aa1c6c56ae9be8b41f2a372f2 /usr.bin
parent67b7daecf7fa6762400aa173323c9b442703420f (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/indent/pr_comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/indent/pr_comment.c b/usr.bin/indent/pr_comment.c
index 4043fee5e83a9..64c138ec458e6 100644
--- a/usr.bin/indent/pr_comment.c
+++ b/usr.bin/indent/pr_comment.c
@@ -293,7 +293,7 @@ pr_comment(void)
s_com = e_com;
*e_com++ = ' ';
}
- if (e_com[-1] != ' ' && !ps.box_com)
+ if (e_com[-1] != ' ' && e_com[-1] != '\t' && !ps.box_com)
*e_com++ = ' '; /* ensure blank before end */
*e_com++ = '*', *e_com++ = '/', *e_com = '\0';
ps.just_saw_decl = l_just_saw_decl;