Skip to content
Permalink
Browse files

EnrichedString: Fix uninitialized variable m_default_length

  • Loading branch information
SmallJoker committed Jan 23, 2020
1 parent 1892ff3 commit a1da9caecf5070e72b554b6c1d4272f9ac19dc55
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/util/enriched_string.h
@@ -98,5 +98,5 @@ class EnrichedString {
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;
};

0 comments on commit a1da9ca

Please sign in to comment.
You can’t perform that action at this time.