-/* $Id: mandoc.c,v 1.40 2011/03/17 09:16:38 kristaps Exp $ */
+/* $Id: mandoc.c,v 1.41 2011/03/17 09:18:12 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
if ('\\' != p[0])
return(DELIM_NONE);
- if (0 == strcmp(p, "\\."))
+ if (0 == strcmp(p + 1, "."))
return(DELIM_CLOSE);
- if (0 == strcmp(p, "\\*(Ba"))
+ if (0 == strcmp(p + 1, "*(Ba"))
return(DELIM_MIDDLE);
return(DELIM_NONE);