summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfpf_skiapathfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/android/cfpf_skiapathfont.cpp')
-rw-r--r--core/fxge/android/cfpf_skiapathfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/android/cfpf_skiapathfont.cpp b/core/fxge/android/cfpf_skiapathfont.cpp
index 44e19bc8e5..27f4fde988 100644
--- a/core/fxge/android/cfpf_skiapathfont.cpp
+++ b/core/fxge/android/cfpf_skiapathfont.cpp
@@ -20,7 +20,7 @@ int32_t CFPF_SkiaPathFont::GetType() const {
void CFPF_SkiaPathFont::SetPath(const char* pPath) {
FX_Free(m_pPath);
- int32_t iSize = FXSYS_strlen(pPath);
+ int32_t iSize = strlen(pPath);
m_pPath = FX_Alloc(char, iSize + 1);
memcpy(m_pPath, pPath, iSize * sizeof(char));
m_pPath[iSize] = 0;