mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Fix #10894 compiler warnings.
This commit is contained in:
parent
37f8efe9f7
commit
71005d6c10
@ -253,8 +253,8 @@ docstring InsetCitation::toolTip(BufferView const & bv, int, int) const
|
||||
docstring tip;
|
||||
tip += "<ol>";
|
||||
int count = 0;
|
||||
for (docstring const & key : keys) {
|
||||
docstring const key_info = bi.getInfo(key, buffer(), ci);
|
||||
for (docstring const & kit : keys) {
|
||||
docstring const key_info = bi.getInfo(kit, buffer(), ci);
|
||||
// limit to reasonable size.
|
||||
if (count > 9 && keys.size() > 11) {
|
||||
tip.push_back(0x2026);// HORIZONTAL ELLIPSIS
|
||||
|
Loading…
Reference in New Issue
Block a user