changeset: 6659:52f48b083cc0
user: Kevin McCarthy <[email protected]>
date: Tue May 31 13:20:28 2016 -0700
link: http://dev.mutt.org/hg/mutt/rev/52f48b083cc0
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.
diffs (12 lines):
diff -r cd316a555bd7 -r 52f48b083cc0 doc/makedoc.c
--- a/doc/makedoc.c Thu May 26 14:45:02 2016 -0700
+++ b/doc/makedoc.c Tue May 31 13:20:28 2016 -0700
@@ -506,7 +506,7 @@
case DT_MAGIC:
{
/* heuristic! */
- strncpy (t, s + 2, l);
+ strncpy (t, s + 5, l);
for (; *t; t++) *t = tolower ((unsigned char) *t);
break;
}