From fc42cdd68df0ce710b507981184ade7bf1b164e6 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 8 Jan 2025 22:17:03 +0200 Subject: [PATCH] [docs] Reduce warnings --- src/hb-paint.h | 2 +- src/hb-sanitize.hh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-paint.h b/src/hb-paint.h index b0cd384e2..d8896a523 100644 --- a/src/hb-paint.h +++ b/src/hb-paint.h @@ -146,7 +146,7 @@ typedef void (*hb_paint_pop_transform_func_t) (hb_paint_funcs_t *funcs, * * A virtual method for the #hb_paint_funcs_t to render a color glyph by glyph index. * - * Return value: %true if the glyph was painted, %false otherwise. + * Return value: `true` if the glyph was painted, `false` otherwise. * * Since: 8.2.0 */ diff --git a/src/hb-sanitize.hh b/src/hb-sanitize.hh index 408649c76..199165a1e 100644 --- a/src/hb-sanitize.hh +++ b/src/hb-sanitize.hh @@ -72,8 +72,8 @@ * * === The sanitize() contract === * - * The sanitize() method of each object type shall return true if it's safe to - * call other methods of the object, and %false otherwise. + * The sanitize() method of each object type shall return `true` if it's safe to + * call other methods of the object, and `false` otherwise. * * Note that what sanitize() checks for might align with what the specification * describes as valid table data, but does not have to be. In particular, we