]> git.lyx.org Git - lyx.git/blobdiff - src/Author.cpp
New Brazilian splash.lyx from Georger
[lyx.git] / src / Author.cpp
index d44af3df4994478716d10c6422b537a15411e7ed..bd9d12d06a87b23e7c351296d9d7e45acf7b235a 100644 (file)
@@ -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;
 }