summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2020-05-16 00:21:13 +0100
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2020-05-16 00:21:13 +0100
commitee08289764a81e4df904a0ff8f8fbd31dbce1613 (patch)
treefb70da672508bdb87e2562ed68d8c6913242259b /t
parentd9a4ee872f7e17b90ba4140703501fac2e26e549 (diff)
Bugfix t/02pen.c _new_attrs() test to end on 0 correctly
Diffstat (limited to 't')
-rw-r--r--t/02pen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02pen.c b/t/02pen.c
index 5c4f337..3cfa22b 100644
--- a/t/02pen.c
+++ b/t/02pen.c
@@ -214,7 +214,7 @@ int main(int argc, char *argv[])
tickit_pen_unref(pen);
- pen = tickit_pen_new_attrs(TICKIT_PEN_FG_DESC, "green#20FF20");
+ pen = tickit_pen_new_attrs(TICKIT_PEN_FG_DESC, "green#20FF20", 0);
is_int(tickit_pen_get_colour_attr(pen, TICKIT_PEN_FG), 2, "index from new FG_DESC");
val = tickit_pen_get_colour_attr_rgb8(pen, TICKIT_PEN_FG);
is_int(val.r, 32, "val.r from get RGB8 for new FG_DESC");