]> git.lyx.org Git - lyx.git/blobdiff - src/Author.cpp
Fix some display glitches
[lyx.git] / src / Author.cpp
index fef6512aae1d97e2fbe97c7eb439309433230a27..79e7de0864b942d059a5ec1502eccb475f17b792 100644 (file)
@@ -116,7 +116,7 @@ void AuthorList::recordCurrentAuthor(Author const & a)
 
 Author const & AuthorList::get(int id) const
 {
-       LBUFERR(id < (int)authors_.size());
+       LASSERT(id < (int)authors_.size() , return authors_[0]);
        return authors_[id];
 }