summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/cfgas_defaultfontmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/font/cfgas_defaultfontmanager.cpp')
-rw-r--r--xfa/fgas/font/cfgas_defaultfontmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/cfgas_defaultfontmanager.cpp b/xfa/fgas/font/cfgas_defaultfontmanager.cpp
index 4b9091f690..6f39797927 100644
--- a/xfa/fgas/font/cfgas_defaultfontmanager.cpp
+++ b/xfa/fgas/font/cfgas_defaultfontmanager.cpp
@@ -30,7 +30,7 @@ RetainPtr<CFGAS_GEFont> CFGAS_DefaultFontManager::GetFont(
dwStyle |= FX_FONTSTYLE_Italic;
const wchar_t* pReplace = pCurFont->pReplaceFont;
- int32_t iLength = FXSYS_wcslen(pReplace);
+ int32_t iLength = wcslen(pReplace);
while (iLength > 0) {
const wchar_t* pNameText = pReplace;
while (*pNameText != L',' && iLength > 0) {