Skip to content

Commit 1957950

Browse files
aggnieszreuk
authored andcommitted
DrawableText: 0-initialise fontHeight and fontHScale variables
1 parent 1b0911d commit 1957950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/juce_gui_basics/drawables/juce_DrawableText.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class JUCE_API DrawableText : public Drawable
120120
private:
121121
//==============================================================================
122122
Parallelogram<float> bounds;
123-
float fontHeight, fontHScale;
123+
float fontHeight{}, fontHScale{};
124124
Font font { withDefaultMetrics (FontOptions{}) }, scaledFont { withDefaultMetrics (FontOptions{}) };
125125
String text;
126126
bool preserveWhitespace = false;

0 commit comments

Comments
 (0)