From: Kevin McCarthy Date: Tue, 31 May 2016 20:20:28 +0000 (-0700) Subject: Fix documentation for DT_MAGIC types. (closes #3845) X-Git-Tag: neomutt-20160822~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b33ed8a1808d2ddad30925fdbe52cb62f18d5b72;p=neomutt Fix documentation for DT_MAGIC types. (closes #3845) With the rename of M_ to MUTT_, the documentation generator in makedoc.c needed to be adjusted for the new prefix size. Thanks to Damien Riegel for the suggested fix. --- diff --git a/doc/makedoc.c b/doc/makedoc.c index 382b422ef..fb49af5f1 100644 --- a/doc/makedoc.c +++ b/doc/makedoc.c @@ -506,7 +506,7 @@ static void pretty_default (char *t, size_t l, const char *s, int type) case DT_MAGIC: { /* heuristic! */ - strncpy (t, s + 2, l); + strncpy (t, s + 5, l); for (; *t; t++) *t = tolower ((unsigned char) *t); break; }