commit 5164b2853e135fedb6a0c58513c869748b1f3d34
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Fri Jul 28 12:10:21 2023 -0400

    Fix bug #12337. Reorder plural and caps indicators.
---
 src/insets/InsetRef.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp
index ed193f7..4473bd7 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -487,11 +487,11 @@ void InsetRef::updateBuffer(ParIterator const & it, 
UpdateType, bool const /*del
                        if (cmd == "formatted") {
                                bool const isPlural = getParam("plural") == 
"true";
                                bool const isCaps = getParam("caps") == "true";
-                               if (isPlural)
-                                       label += from_ascii("+");
                                if (isCaps) {
                                        // up arrow (shift key) symbol
                                        label += docstring(1, 
char_type(0x21E7));
+                                       if (isPlural)
+                                               label += from_ascii("+");
                                }
                        }
                        label += from_ascii(": ");
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to