diff --git a/examples/NetworkGraphicsDemo/Source/Demos.h b/examples/NetworkGraphicsDemo/Source/Demos.h index 48c52b64c4..a8b90a4018 100644 --- a/examples/NetworkGraphicsDemo/Source/Demos.h +++ b/examples/NetworkGraphicsDemo/Source/Demos.h @@ -405,7 +405,7 @@ struct FlockWithText : public FlockDemo String text = String (messages[currentMessage]).replace ("NUMDEVICES", String (canvas.clients.size())); AttributedString as; - as.append (text, Font(), String(), textSize * scale), Colour (0x80ffffff).withMultipliedAlpha (alpha)); + as.append (text, Font (textSize * scale), Colour (0x80ffffff).withMultipliedAlpha (alpha)); as.setJustification (Justification::centred); auto centre = canvas.clients[clientIndex % canvas.clients.size()].centre * scale;