aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-01-27 21:08:37 +0100
committerThomas White <taw@bitwiz.org.uk>2013-01-27 21:08:37 +0100
commit3fc5126e5e89d4d125495d646bb2dfc407ba1f07 (patch)
tree0da4901dfb1ad0613de65b2e375ed0dfa474c265
parent8c2a956f4a08b64ad9efe6dd943402ab50c72680 (diff)
Fix obvious bug
-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;