aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 00:04:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 00:04:46 +0000
commit56769575b59463282f2527c0dccc339862efdf04 (patch)
tree0899065e5d420c864dadcf8b923647754dc30eb5 /man.c
parentd231ab40d54aff1a0d68b8894330621f91bcce4a (diff)
downloadmandoc-56769575b59463282f2527c0dccc339862efdf04.tar.gz
mandoc-56769575b59463282f2527c0dccc339862efdf04.tar.zst
mandoc-56769575b59463282f2527c0dccc339862efdf04.zip
Fix allowing silly '\'' control character.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.c b/man.c
index 07b02369..a1a0ecd4 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.70 2010/05/15 22:44:04 kristaps Exp $ */
+/* $Id: man.c,v 1.71 2010/05/16 00:04:46 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -151,7 +151,7 @@ int
man_parseln(struct man *m, int ln, char *buf)
{
- return('.' == *buf || '\'' == *buf ?
+ return(('.' == *buf || '\'' == *buf) ?
man_pmacro(m, ln, buf) :
man_ptext(m, ln, buf));
}