From 47c094313ab711b785e41a08e55350e1d447fa04 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 27 Nov 2025 08:45:01 +1100 Subject: Feature [feature-requests:#1564]. Ensure DCBS fold map initialized and folding produces sensible values when DBCS lead byte followed by non trail byte. --- src/DBCS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/DBCS.h b/src/DBCS.h index 96d282446..ccd71536a 100644 --- a/src/DBCS.h +++ b/src/DBCS.h @@ -37,7 +37,7 @@ constexpr uint16_t DBCSIndex(char ch1, char ch2) noexcept { } struct DBCSPair { - char chars[2]; + char chars[2]{}; }; using FoldMap = std::array; -- cgit v1.2.3