aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-12-12 08:40:52 +0100
committerThomas White <taw@bitwiz.org.uk>2012-12-12 08:40:52 +0100
commitd990869a2a91d14f28813b700a20ba3c462b66e1 (patch)
tree3198a524995ce94550c7be4dff023a65e19f7ad5 /tests
parent2982aa6f70d4644ac2a5dd0ae4b6449c9a7b5ab2 (diff)
Fix render_test_sc1
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test_sc1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index ef902ce..67e8e14 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -87,6 +87,7 @@ int main(int argc, char *argv[])
sty->lop.margin_r = 0.0;
sty->lop.margin_t = 0.0;
sty->lop.margin_b = 0.0;
+ sty->lop.grav = DIR_UL;
sty->name = strdup("Default");
sty2 = calloc(1, sizeof(struct style));
@@ -98,12 +99,11 @@ int main(int argc, char *argv[])
sty2->lop.margin_r = 20.0;
sty2->lop.margin_t = 20.0;
sty2->lop.margin_b = 20.0;
+ sty2->lop.grav = DIR_UL;
sty2->name = strdup("Subframe1");
fr->style = sty;
- fr->children[1]->style = sty2;
-
- assert(fr->children[0] == fr);
+ fr->children[0]->style = sty2;
s.top = fr;
s.rendered_edit = NULL;