From a789230cf9f87c68fcced647d0a1e8edc516f1c2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 16 Oct 2019 21:52:12 +0200 Subject: font: font_from_name() returns an allocated font struct --- font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'font.h') diff --git a/font.h b/font.h index 594ae6ec..1d5ad4dc 100644 --- a/font.h +++ b/font.h @@ -58,6 +58,6 @@ struct font { mtx_t lock; }; -bool font_from_name(font_list_t names, const char *attributes, struct font *result); +struct font *font_from_name(font_list_t names, const char *attributes); const struct glyph *font_glyph_for_wc(struct font *font, wchar_t wc); void font_destroy(struct font *font); -- cgit v1.3