mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
whitespace and style
This commit is contained in:
parent
2945bc356e
commit
cfd19d86be
@ -120,11 +120,12 @@ int AuthorList::record(Author const & a)
|
|||||||
return it - beg;
|
return it - beg;
|
||||||
if (it->bufferId() == a.bufferId()) {
|
if (it->bufferId() == a.bufferId()) {
|
||||||
int const id = it - beg;
|
int const id = it - beg;
|
||||||
if (!it->valid())
|
if (!it->valid()) {
|
||||||
// we need to handle the case of a valid author being registered
|
// we need to handle the case of a valid author being registered
|
||||||
// after an invalid one. For instance, because "buffer-reload"
|
// after an invalid one. For instance, because "buffer-reload"
|
||||||
// does not clear the buffer's author list.
|
// does not clear the buffer's author list.
|
||||||
record(id, a);
|
record(id, a);
|
||||||
|
}
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user