1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Software text layout fix.

This commit is contained in:
jules 2013-06-29 11:02:34 +01:00
parent a0792ec444
commit 146155bd34

View file

@ -506,7 +506,7 @@ namespace TextLayoutHelpers
{
const int stringLength = text.getText().length();
int rangeStart = 0;
FontAndColour lastFontAndColour (nullptr);
FontAndColour lastFontAndColour (&defaultFont);
// Iterate through every character in the string
for (int i = 0; i < stringLength; ++i)