diff options
-rw-r--r-- | src/ports/SkFontConfigInterface_direct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp index b0a2e46567..bba1cceeec 100644 --- a/src/ports/SkFontConfigInterface_direct.cpp +++ b/src/ports/SkFontConfigInterface_direct.cpp @@ -479,12 +479,12 @@ SkDataTable* SkFontConfigInterfaceDirect::getFamilyNames() { FcPattern* pat = FcPatternCreate(); FcObjectSet* os = FcObjectSetBuild (FC_FAMILY, (char *) 0); if (NULL == os) { - return false; + return NULL; } FcFontSet* fs = FcFontList(NULL, pat, os); if (NULL == fs) { FcObjectSetDestroy(os); - return false; + return NULL; } SkTDArray<const char*> names; |