Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1800dcf authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

am 145f5780: Merge "Fix incorrect return value on missing glyph" into lmp-dev

* commit '145f5780fabc99b36532d4f57a5c99c7eb727d2c':
  Fix incorrect return value on missing glyph
parents 003f88ae 2a5fab9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ bool MinikinFontSkia::GetGlyph(uint32_t codepoint, uint32_t *glyph) const {
    uint16_t glyph16;
    paint.textToGlyphs(&codepoint, sizeof(codepoint), &glyph16);
    *glyph  = glyph16;
    return !!glyph;
    return !!glyph16;
}

static void MinikinFontSkia_SetSkiaPaint(const MinikinFont* font, SkPaint* skPaint, const MinikinPaint& paint) {