From 712f9b074eead391a808fd7ebfbfecc4a54e92af Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 4 Apr 2011 16:49:03 +0000 Subject: Have `Fd' detection in mandoc-db also look for local includes (i.e., those that are quoted and not angular-bracketed). --- mandoc-db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mandoc-db.c b/mandoc-db.c index 1a3db9e8..72ef1448 100644 --- a/mandoc-db.c +++ b/mandoc-db.c @@ -458,14 +458,14 @@ pmdoc_Fd(MDOC_ARGS) */ start = n->string; - if ('<' == *start) + if ('<' == *start || '"' == *start) start++; if (0 == (sz = strlen(start))) return; end = &start[(int)sz - 1]; - if ('>' == *end) + if ('>' == *end || '"' == *end) end--; nil = '\0'; -- cgit