index dd9437f5f39f29d3da373c80e9df443571d68adc..2049789b5fe020a599540f872dcb1becd3969ff5 100644 (file)
--- a/tig.c
+++ b/tig.c
bool trim = author_trim(cols);
bool abbreviate = author == AUTHOR_ABBREVIATED || !trim;
- if (!author)
+ if (author == AUTHOR_NO)
return "";
if (abbreviate && text)
return get_author_initials(text);
bool trim = author_trim(opt_author_cols);
const char *text = mkauthor(author, opt_author_cols, opt_author);
+ if (opt_author == AUTHOR_NO)
+ return FALSE;
+
return draw_field(view, LINE_AUTHOR, text, opt_author_cols, trim);
}