From 18918f1c1b51b97cce756132a009435b9e2e5847 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Mon, 4 Jan 2016 03:43:08 +0000 Subject: [PATCH] Amend bb344452 --- src/insets/InsetCitation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2