This commit is contained in:
Guillaume Munch 2016-01-04 03:43:08 +00:00
parent 752c67ada9
commit 18918f1c1b

View File

@ -318,7 +318,7 @@ void InsetCitation::updateBuffer(ParIterator const &, UpdateType)
cache.recalculate = false;
cache.generated_label = glabel;
unsigned int const maxLabelChars = 45;
cache.screen_label = glabel.substr(0, maxLabelChars);
cache.screen_label = glabel.substr(0, maxLabelChars + 1);
support::truncateWithEllipsis(cache.screen_label, maxLabelChars);
}