diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-04 16:49:03 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-04 16:49:03 +0000 |
commit | 712f9b074eead391a808fd7ebfbfecc4a54e92af (patch) | |
tree | 0fb7d88897efbe0eaf7c3e0c54d9695ac561e004 | |
parent | d5a7714d266d3c899764ccc8fed227d6c2c98f32 (diff) | |
download | mandoc-712f9b074eead391a808fd7ebfbfecc4a54e92af.tar.gz |
Have `Fd' detection in mandoc-db also look for local includes (i.e.,
those that are quoted and not angular-bracketed).
-rw-r--r-- | mandoc-db.c | 4 |
1 files 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'; |