Răsfoiți Sursa

Fixed missing enum attribute list null termination for Text.

Lasse Öörni 12 ani în urmă
părinte
comite
b492108ff0
1 a modificat fișierele cu 1 adăugiri și 7 ștergeri
  1. 1 7
      Engine/UI/Text.cpp

+ 1 - 7
Engine/UI/Text.cpp

@@ -37,13 +37,7 @@ namespace Urho3D
 
 static const float MIN_ROW_SPACING = 0.5f;
 
-static const char* horizontalAlignments[] =
-{
-    "Left",
-    "Center",
-    "Right",
-    ""
-};
+extern const char* horizontalAlignments[];
 
 struct GlyphLocation
 {