diff options
author | SmallJoker <mk939@ymail.com> | 2020-01-23 20:14:46 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2020-01-23 20:14:46 +0100 |
commit | a1da9caecf5070e72b554b6c1d4272f9ac19dc55 (patch) | |
tree | d28e76ab5273ccabe7b4f86300a418f8f222cf15 | |
parent | 1892ff3c0db23ccdf7b0f6dc83cb1bdf4579b4ec (diff) | |
download | minetest-a1da9caecf5070e72b554b6c1d4272f9ac19dc55.tar.gz minetest-a1da9caecf5070e72b554b6c1d4272f9ac19dc55.tar.bz2 minetest-a1da9caecf5070e72b554b6c1d4272f9ac19dc55.zip |
EnrichedString: Fix uninitialized variable m_default_length
-rw-r--r-- | src/util/enriched_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |