diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 00:04:46 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 00:04:46 +0000 |
commit | 95167efd6516f34385b6878dd2f043182e743e05 (patch) | |
tree | a683e28836d17e48751b452fb7168c29d56777f6 /main.c | |
parent | 5df307ff5b3b92eb7c1bcbddf7d4ce7a19091bfd (diff) | |
download | mandoc-95167efd6516f34385b6878dd2f043182e743e05.tar.gz |
Fix allowing silly '\'' control character.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |