]> git.lyx.org Git - features.git/commitdiff
Fix bug #12337. Reorder plural and caps indicators.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 28 Jul 2023 16:10:21 +0000 (12:10 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 28 Jul 2023 16:10:21 +0000 (12:10 -0400)
src/insets/InsetRef.cpp

index ed193f71c79c62fb8d69985447c52cda712a23a9..4473bd7ad63440285256f5c468002ee04b477eef 100644 (file)
@@ -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(": ");