Fix #10894 compiler warnings.

This commit is contained in:
Richard Heck 2017-12-16 00:59:07 -05:00
parent 37f8efe9f7
commit 71005d6c10

View File

@ -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