Browse Source

Fixed missing enum attribute list null termination for Text.

Lasse Öörni 12 years ago
parent
commit
b492108ff0
1 changed files with 1 additions and 7 deletions
  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 float MIN_ROW_SPACING = 0.5f;
 
 
-static const char* horizontalAlignments[] =
-{
-    "Left",
-    "Center",
-    "Right",
-    ""
-};
+extern const char* horizontalAlignments[];
 
 
 struct GlyphLocation
 struct GlyphLocation
 {
 {