| Index: core/fxge/android/fpf_skiafontmgr.cpp
|
| diff --git a/core/fxge/android/fpf_skiafontmgr.cpp b/core/fxge/android/fpf_skiafontmgr.cpp
|
| index 3158f4ca52025dd05edb71474bedca62903ae4e9..fa27a94c87dbc3a667f19a500e30a108302c8e2b 100644
|
| --- a/core/fxge/android/fpf_skiafontmgr.cpp
|
| +++ b/core/fxge/android/fpf_skiafontmgr.cpp
|
| @@ -234,10 +234,9 @@ CFPF_SkiaFontMgr::~CFPF_SkiaFontMgr() {
|
| }
|
| }
|
| FX_BOOL CFPF_SkiaFontMgr::InitFTLibrary() {
|
| - if (!m_FTLibrary) {
|
| + if (!m_FTLibrary)
|
| FXFT_Init_FreeType(&m_FTLibrary);
|
| - }
|
| - return m_FTLibrary != NULL;
|
| + return !!m_FTLibrary;
|
| }
|
| void CFPF_SkiaFontMgr::LoadSystemFonts() {
|
| if (m_bLoaded) {
|
|
|