From 79fedb5ae3950db4e7048ed49f614f064aa0724a Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Fri, 28 Jul 2017 23:43:56 +0200 Subject: [PATCH] Fixed uninitialized variable that was just introduced --- include/TGUI/Widgets/BoxLayout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/TGUI/Widgets/BoxLayout.hpp b/include/TGUI/Widgets/BoxLayout.hpp index cf9f2ec4..f39bf2ec 100644 --- a/include/TGUI/Widgets/BoxLayout.hpp +++ b/include/TGUI/Widgets/BoxLayout.hpp @@ -151,7 +151,7 @@ namespace tgui ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// protected: - float m_spaceBetweenWidgetsCached; + float m_spaceBetweenWidgetsCached = 0; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////