From: Guillaume Munch Date: Mon, 4 Jan 2016 03:43:08 +0000 (+0000) Subject: Amend bb344452 X-Git-Tag: 2.2.0beta1~266 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=18918f1c1b51b97cce756132a009435b9e2e5847;p=features.git Amend bb344452 --- diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index 4dcec9474e..4bf6333f27 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -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); }