summaryrefslogtreecommitdiffstats
path: root/main.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
commit95167efd6516f34385b6878dd2f043182e743e05 (patch)
treea683e28836d17e48751b452fb7168c29d56777f6 /main.c
parent5df307ff5b3b92eb7c1bcbddf7d4ce7a19091bfd (diff)
downloadmandoc-95167efd6516f34385b6878dd2f043182e743e05.tar.gz
Fix allowing silly '\'' control character.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 296bb5e6..d7bac760 100644
--- a/main.c
+++ b/main.c
@@ -574,7 +574,7 @@ pset(const char *buf, int pos, struct curparse *curp,
* default to -man, which is more lenient.
*/
- if (buf[0] == '.') {
+ if ('.' == buf[0] || '\'' == buf[0]) {
for (i = 1; buf[i]; i++)
if (' ' != buf[i] && '\t' != buf[i])
break;