Index: core/src/fxge/ge/fx_ge_fontmap.cpp |
diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp |
index 061ad66dd0548753fda16d03854a8f4e4439506b..e88791aac510dd852366f859b54d5516a0f62f3e 100644 |
--- a/core/src/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/src/fxge/ge/fx_ge_fontmap.cpp |
@@ -455,7 +455,7 @@ void CFX_FontMapper::SetSystemFontInfo(IFX_SystemFontInfo* pFontInfo) { |
m_pFontInfo = pFontInfo; |
} |
static CFX_ByteString _TT_NormalizeName(const FX_CHAR* family) { |
- CFX_ByteString norm(family, -1); |
+ CFX_ByteString norm(family); |
norm.Remove(' '); |
norm.Remove('-'); |
norm.Remove(','); |