summaryrefslogtreecommitdiff
path: root/src/library/font.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/font.rs')
-rw-r--r--src/library/font.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/font.rs b/src/library/font.rs
index efcbb86f..21ac14c7 100644
--- a/src/library/font.rs
+++ b/src/library/font.rs
@@ -17,7 +17,7 @@ function! {
classes: Vec<(String, Vec<String>)>,
}
- parse(header, body, ctx, f) {
+ parse(header, body, state, f) {
let size = header.args.pos.get::<ScaleLength>();
let style = header.args.key.get::<FontStyle>("style", f);
@@ -41,7 +41,7 @@ function! {
.collect();
FontFunc {
- body: body!(opt: body, ctx, f),
+ body: parse_maybe_body(body, state, f),
size,
style,
weight,