mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +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;
|
docstring tip;
|
||||||
tip += "<ol>";
|
tip += "<ol>";
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (docstring const & key : keys) {
|
for (docstring const & kit : keys) {
|
||||||
docstring const key_info = bi.getInfo(key, buffer(), ci);
|
docstring const key_info = bi.getInfo(kit, buffer(), ci);
|
||||||
// limit to reasonable size.
|
// limit to reasonable size.
|
||||||
if (count > 9 && keys.size() > 11) {
|
if (count > 9 && keys.size() > 11) {
|
||||||
tip.push_back(0x2026);// HORIZONTAL ELLIPSIS
|
tip.push_back(0x2026);// HORIZONTAL ELLIPSIS
|
||||||
|
Loading…
Reference in New Issue
Block a user