]> git.lyx.org Git - features.git/blobdiff - src/Author.cpp
Change label "Show Zoom" to "Show Zoom Value"
[features.git] / src / Author.cpp
index 9007863e51f744893c8e39159360ba39a38ad3b8..ffb12983f050bc8c4bacca4d9b495bfff9de16ba 100644 (file)
@@ -120,11 +120,12 @@ int AuthorList::record(Author const & a)
                        return it - beg;
                if (it->bufferId() == a.bufferId()) {
                        int const id = it - beg;
-                       if (!it->valid())
+                       if (!it->valid()) {
                                // we need to handle the case of a valid author being registered
                                // after an invalid one. For instance, because "buffer-reload"
                                // does not clear the buffer's author list.
                                record(id, a);
+                       }
                        return id;
                }
        }