From 9146c6a50fdf81196bab3d517b8313fb4fa3bc71 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 5 Jan 2018 19:39:06 +0100 Subject: Don't recalculate statustext initial color everytime & review fixes --- src/irrlicht_changes/static_text.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/irrlicht_changes') diff --git a/src/irrlicht_changes/static_text.h b/src/irrlicht_changes/static_text.h index 6bb85bd6b..c95d5b95f 100644 --- a/src/irrlicht_changes/static_text.h +++ b/src/irrlicht_changes/static_text.h @@ -92,7 +92,8 @@ namespace gui s32 id = -1, bool fillBackground = false) { - return add(guienv, EnrichedString(text), rectangle, border, wordWrap, parent, id, fillBackground); + return add(guienv, EnrichedString(text), rectangle, border, wordWrap, parent, + id, fillBackground); } //! draws the element and its children -- cgit v1.2.3