X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAuthor.cpp;h=bd9d12d06a87b23e7c351296d9d7e45acf7b235a;hb=67fa69ce6b6f7ce60ef4e38836baa09ddefa759f;hp=d44af3df4994478716d10c6422b537a15411e7ed;hpb=86bd1cd641daade1524a6edf7b3f733117e8afc7;p=lyx.git diff --git a/src/Author.cpp b/src/Author.cpp index d44af3df49..bd9d12d06a 100644 --- a/src/Author.cpp +++ b/src/Author.cpp @@ -64,8 +64,9 @@ bool operator==(Author const & l, Author const & r) ostream & operator<<(ostream & os, Author const & a) { // FIXME UNICODE - os << a.buffer_id_ << " \"" << to_utf8(a.name_) - << "\" " << to_utf8(a.email_); + os << a.buffer_id_ << " \"" << to_utf8(a.name_) << "\""; + if (!a.email_.empty()) + os << " " << to_utf8(a.email_); return os; }