aboutsummaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-01-25 22:55:38 +0100
committerThomas White <taw@physics.org>2018-01-25 22:55:38 +0100
commit37919153f021a232202a5b2cf26483dc77c25b41 (patch)
treeb960a2de24b63a28649636637eb2fd0d6de00c58 /src/print.c
parentc94b682595a495e29c0c7b2d264745aa91c13599 (diff)
Use custom slide size in narrative print
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c
index acc44dd..250c9da 100644
--- a/src/print.c
+++ b/src/print.c
@@ -156,8 +156,8 @@ static int create_thumbnail(SCInterpreter *scin, SCBlock *bl,
struct presentation *p = ps->p;
SCBlock *b;
- *w = 320.0;
- *h = 256.0;
+ *w = 270.0*(p->slide_width / p->slide_height);
+ *h = 270.0;
b = sc_interp_get_macro_real_block(scin);
*bvp = b;