projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1892ff3
)
EnrichedString: Fix uninitialized variable m_default_length
author
SmallJoker
<mk939@ymail.com>
Thu, 23 Jan 2020 19:14:46 +0000
(20:14 +0100)
committer
SmallJoker
<mk939@ymail.com>
Thu, 23 Jan 2020 19:14:46 +0000
(20:14 +0100)
src/util/enriched_string.h
patch
|
blob
|
history
diff --git
a/src/util/enriched_string.h
b/src/util/enriched_string.h
index eaab3bd917326fef193b380f051cb598edbba0aa..c8a095887ae932772cb57025831bc8e1fc1123ae 100644
(file)
--- 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
;
};