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 817ce2786ae89e609dd617a25f976811b63753f7..2dfb3c7a1750997b0ceb1a228a73c18b4117fc20 100644 |
--- a/core/src/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/src/fxge/ge/fx_ge_fontmap.cpp |
@@ -463,7 +463,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(','); |