Skip to content

Commit a1da9ca

Browse files
committedJan 23, 2020
EnrichedString: Fix uninitialized variable m_default_length
1 parent 1892ff3 commit a1da9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/util/enriched_string.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ class EnrichedString {
9898
irr::video::SColor m_background;
9999
// This variable defines the length of the default-colored text.
100100
// Change this to a std::vector if an "end coloring" tag is wanted.
101-
size_t m_default_length;
101+
size_t m_default_length = 0;
102102
};

0 commit comments

Comments
 (0)
Please sign in to comment.