diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2020-05-16 00:21:13 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2020-05-16 00:21:13 +0100 |
commit | ee08289764a81e4df904a0ff8f8fbd31dbce1613 (patch) | |
tree | fb70da672508bdb87e2562ed68d8c6913242259b /t | |
parent | d9a4ee872f7e17b90ba4140703501fac2e26e549 (diff) |
Bugfix t/02pen.c _new_attrs() test to end on 0 correctly
Diffstat (limited to 't')
-rw-r--r-- | t/02pen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |