summaryrefslogtreecommitdiff
path: root/src/library/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/layout.rs')
-rw-r--r--src/library/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/layout.rs b/src/library/layout.rs
index 20673c4a..977b3153 100644
--- a/src/library/layout.rs
+++ b/src/library/layout.rs
@@ -27,7 +27,7 @@ pub fn page(_: &mut EvalContext, args: &mut Arguments) -> TypResult<Value> {
let state = ctx.state.page_mut();
if let Some(paper) = paper {
- state.class = paper.class;
+ state.class = paper.class();
state.size = paper.size();
}