summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfpf_skiapathfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/android/cfpf_skiapathfont.h')
-rw-r--r--core/fxge/android/cfpf_skiapathfont.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxge/android/cfpf_skiapathfont.h b/core/fxge/android/cfpf_skiapathfont.h
index f1cff2574b..f8ddc6c83a 100644
--- a/core/fxge/android/cfpf_skiapathfont.h
+++ b/core/fxge/android/cfpf_skiapathfont.h
@@ -20,14 +20,14 @@ class CFPF_SkiaPathFont : public CFPF_SkiaFontDescriptor {
// CFPF_SkiaFontDescriptor
int32_t GetType() const override { return FPF_SKIAFONTTYPE_Path; }
- void SetPath(const FX_CHAR* pPath) {
+ void SetPath(const char* pPath) {
FX_Free(m_pPath);
int32_t iSize = FXSYS_strlen(pPath);
- m_pPath = FX_Alloc(FX_CHAR, iSize + 1);
- FXSYS_memcpy(m_pPath, pPath, iSize * sizeof(FX_CHAR));
+ m_pPath = FX_Alloc(char, iSize + 1);
+ FXSYS_memcpy(m_pPath, pPath, iSize * sizeof(char));
m_pPath[iSize] = 0;
}
- FX_CHAR* m_pPath;
+ char* m_pPath;
};
#endif // CORE_FXGE_ANDROID_CFPF_SKIAPATHFONT_H_