From ec03a681f7f958075770077ffb767ba48fa257b1 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 31 Jan 2024 22:16:50 -0600 Subject: [PATCH] =?UTF-8?q?feat(core):=20reorder=20processing=20=20?= =?UTF-8?q?=F0=9F=99=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix quickcheck of add_back_markers() For: #10516 --- core/src/ldml/ldml_markers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ldml/ldml_markers.cpp b/core/src/ldml/ldml_markers.cpp index 6840d47b2c..13c711d9d0 100644 --- a/core/src/ldml/ldml_markers.cpp +++ b/core/src/ldml/ldml_markers.cpp @@ -61,6 +61,7 @@ bool normalize_nfd(std::u16string &str) { void add_back_markers(std::u32string &str, const std::u32string &src, marker_map &map, marker_encoding encoding) { if (map.empty()) { // quick check, nothing to do if no markers + str = src; return; } // need to reconstitute.