소스 검색

Fixed missing enum attribute list null termination for Text.

Lasse Öörni 12 년 전
부모
커밋
b492108ff0
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  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
 {