summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorHugues Ross <hugues.ross@gmail.com>2019-12-14 18:03:33 -0500
committersfan5 <sfan5@live.de>2019-12-16 19:26:57 +0100
commitbd4b8d40b31301700b6405d0952fe692b65b28f5 (patch)
tree7ca9742199518a67cccf46d211e9968735602709 /src/gui
parent41ff0f6679ec3b54b8306e20b6564bdf0da34b5a (diff)
downloadminetest-bd4b8d40b31301700b6405d0952fe692b65b28f5.tar.gz
minetest-bd4b8d40b31301700b6405d0952fe692b65b28f5.tar.bz2
minetest-bd4b8d40b31301700b6405d0952fe692b65b28f5.zip
StyleSpec: 0-initialize the property_set array
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/StyleSpec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/StyleSpec.h b/src/gui/StyleSpec.h
index f120fdedb..5c9e20a11 100644
--- a/src/gui/StyleSpec.h
+++ b/src/gui/StyleSpec.h
@@ -47,7 +47,7 @@ public:
};
private:
- std::array<bool, NUM_PROPERTIES> property_set;
+ std::array<bool, NUM_PROPERTIES> property_set{};
std::array<std::string, NUM_PROPERTIES> properties;
public: