From 56769575b59463282f2527c0dccc339862efdf04 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 16 May 2010 00:04:46 +0000 Subject: Fix allowing silly '\'' control character. --- man.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man.c') 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 * @@ -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)); } -- cgit v1.2.3