aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-16 19:52:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-16 19:52:12 +0000
commita789230cf9f87c68fcced647d0a1e8edc516f1c2 (patch)
tree13ae47436e665872f368795d2ec3e7881070f247 /font.h
parentselection: replace \r\n with \n in pasted text (diff)
font: font_from_name() returns an allocated font struct
Diffstat (limited to 'font.h')
-rw-r--r--font.h2
1 files changed, 1 insertions, 1 deletions
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);