From bfbdc4844d685566509c029e8b3567bd39a96c35 Mon Sep 17 00:00:00 2001 From: attila Date: Mon, 3 Feb 2025 17:01:21 +0100 Subject: [PATCH] ShapedTextOptions: Fix uninitialised member variable --- modules/juce_graphics/detail/juce_SimpleShapedText.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_graphics/detail/juce_SimpleShapedText.h b/modules/juce_graphics/detail/juce_SimpleShapedText.h index 42afc4d2bf..bdc7146657 100644 --- a/modules/juce_graphics/detail/juce_SimpleShapedText.h +++ b/modules/juce_graphics/detail/juce_SimpleShapedText.h @@ -187,7 +187,7 @@ private: float additiveLineSpacing = 0.0f; bool baselineAtZero = false; bool allowBreakingInsideWord = false; - bool trailingWhitespacesShouldFit; + bool trailingWhitespacesShouldFit = true; int64 maxNumLines = std::numeric_limits::max(); String ellipsis; };