From a1da9caecf5070e72b554b6c1d4272f9ac19dc55 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Thu, 23 Jan 2020 20:14:46 +0100 Subject: [PATCH] EnrichedString: Fix uninitialized variable m_default_length --- src/util/enriched_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/enriched_string.h b/src/util/enriched_string.h index eaab3bd91..c8a095887 100644 --- a/src/util/enriched_string.h +++ b/src/util/enriched_string.h @@ -98,5 +98,5 @@ private: irr::video::SColor m_background; // This variable defines the length of the default-colored text. // Change this to a std::vector if an "end coloring" tag is wanted. - size_t m_default_length; + size_t m_default_length = 0; }; -- 2.25.1