Tweak the logic where I attempt to get the document author

This commit is contained in:
david parsons
2008-02-28 00:21:59 -08:00
parent d9b357d044
commit 88a3fe3447
+2 -2
View File
@@ -281,10 +281,10 @@ fdate(MMIOT *doc, FILE *output, int flags)
static void
fauthor(MMIOT *doc, FILE *output, int flags)
{
char *h;
char *h = mkd_doc_author(doc);
#if HAVE_PWD_H
if ( (h = mkd_doc_author(doc)) == 0 && me )
if ( (h == 0) && me )
h = me->pw_gecos;
#endif