From 08ddd44b634d4da78edd0964f539a310544c7883 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 3 Nov 2021 18:52:30 +0800 Subject: ! UI9Slicing --- Runtime/GUI/UITextMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Runtime/GUI/UITextMesh.cpp') diff --git a/Runtime/GUI/UITextMesh.cpp b/Runtime/GUI/UITextMesh.cpp index 823335f..abb5231 100644 --- a/Runtime/GUI/UITextMesh.cpp +++ b/Runtime/GUI/UITextMesh.cpp @@ -69,7 +69,7 @@ UITextMesh::UITextMesh(const UnicodeString& str, Font* font,int pixelSize, EText float offset = 0; for (int i = 0; i < str.length; ++i) { - character::Codepoint c = str.str[i]; + character::Unicode c = str.str[i]; const Character* ch = font->GetCharacter(c, pixelSize); if (ch == NULL) continue; -- cgit v1.1-26-g67d0