diff --git a/common/gal/stroke_font.cpp b/common/gal/stroke_font.cpp index b4b89965de..3f0958284e 100644 --- a/common/gal/stroke_font.cpp +++ b/common/gal/stroke_font.cpp @@ -56,8 +56,8 @@ bool STROKE_FONT::LoadNewStrokeFont( const char* const aNewStrokeFont[], int aNe for( int j = 0; j < aNewStrokeFontSize; j++ ) { Glyph glyph; - double glyphStartX; - double glyphEndX; + double glyphStartX = 0.0; + double glyphEndX = 0.0; VECTOR2D glyphBoundingX; std::deque pointList;