Index: core/src/fxge/android/fpf_skiafontmgr.cpp |
diff --git a/core/src/fxge/android/fpf_skiafontmgr.cpp b/core/src/fxge/android/fpf_skiafontmgr.cpp |
index 254f806fecb10a32a9f8d7ab13cc3faf0facad1b..9dbe35d0e515b082dbde54238128e7130993b07b 100644 |
--- a/core/src/fxge/android/fpf_skiafontmgr.cpp |
+++ b/core/src/fxge/android/fpf_skiafontmgr.cpp |
@@ -238,7 +238,7 @@ CFPF_SkiaFontMgr::~CFPF_SkiaFontMgr() { |
} |
} |
FX_BOOL CFPF_SkiaFontMgr::InitFTLibrary() { |
- if (m_FTLibrary == NULL) { |
+ if (!m_FTLibrary) { |
FXFT_Init_FreeType(&m_FTLibrary); |
} |
return m_FTLibrary != NULL; |