diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-01-05 19:39:06 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-05 20:59:30 +0100 |
commit | 9146c6a50fdf81196bab3d517b8313fb4fa3bc71 (patch) | |
tree | dad709901c6840812401dc6f0db1d356a4ef4866 /src/irrlicht_changes | |
parent | f40f4143dfbbaadaabcdbd5243412d389a9d29fb (diff) | |
download | minetest-9146c6a50fdf81196bab3d517b8313fb4fa3bc71.tar.gz minetest-9146c6a50fdf81196bab3d517b8313fb4fa3bc71.tar.bz2 minetest-9146c6a50fdf81196bab3d517b8313fb4fa3bc71.zip |
Don't recalculate statustext initial color everytime & review fixes
Diffstat (limited to 'src/irrlicht_changes')
-rw-r--r-- | src/irrlicht_changes/static_text.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |