From f5534bad1f8430b769f21fa727ff29ebc539194c Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Thu, 26 May 2022 10:57:08 -0300 Subject: fixt Rect#align_horizontally? * src/rect (Rect#align_horizontally?): The method was pointing to the wrong C function. --- src/rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rect.c b/src/rect.c index 52c9dd4..fa02ceb 100644 --- a/src/rect.c +++ b/src/rect.c @@ -242,7 +242,7 @@ cg_rect_init(mrb_state *mrb) mrb, cg_cRect, "align_vertically?", cg_cRect_align_vertically, MRB_ARGS_REQ(1)); mrb_define_method( - mrb, cg_cRect, "align_horizontally?", cg_cRect_align_vertically, + mrb, cg_cRect, "align_horizontally?", cg_cRect_align_horizontally, MRB_ARGS_REQ(1)); mrb_define_method( mrb, cg_cRect, "collide?", cg_cRect_collide, MRB_ARGS_REQ(1)); -- cgit v1.2.3