From 146155bd3493cb311edee814ce966ed4c5a966e1 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 29 Jun 2013 11:02:34 +0100 Subject: [PATCH] Software text layout fix. --- modules/juce_graphics/fonts/juce_TextLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_graphics/fonts/juce_TextLayout.cpp b/modules/juce_graphics/fonts/juce_TextLayout.cpp index 251e759d9f..5b53e9ae8d 100644 --- a/modules/juce_graphics/fonts/juce_TextLayout.cpp +++ b/modules/juce_graphics/fonts/juce_TextLayout.cpp @@ -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)