]> git.lyx.org Git - features.git/commitdiff
Amend bb344452
authorGuillaume Munch <gm@lyx.org>
Mon, 4 Jan 2016 03:43:08 +0000 (03:43 +0000)
committerGuillaume Munch <gm@lyx.org>
Mon, 4 Jan 2016 03:43:08 +0000 (03:43 +0000)
src/insets/InsetCitation.cpp

index 4dcec9474e15bc5de8a5e9c0ea74af4d861d92bb..4bf6333f2791bd4dd56d2b7a1d0efd8a9e64440d 100644 (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);
 }