aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index dd666d4..628dc99 100644
--- a/src/render.c
+++ b/src/render.c
@@ -523,7 +523,7 @@ static int render_frame(struct frame *fr, cairo_t *cr)
}
mtot = ch->lop.margin_t + ch->lop.margin_b;
- switch ( ch->lop.w_units ) {
+ switch ( ch->lop.h_units ) {
case UNITS_SLIDE :
ch->h = ch->lop.h - mtot;