diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-05-26 10:57:08 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-05-26 10:57:08 -0300 |
commit | f5534bad1f8430b769f21fa727ff29ebc539194c (patch) | |
tree | ae9da5b2c71308f5fa6adfb7678f52244ef28b71 /src | |
parent | 57f2032f1d65eadaf07eafbcd9020e8ec6bed109 (diff) |
fixt Rect#align_horizontally?
* src/rect (Rect#align_horizontally?): The method was pointing to the
wrong C function.
Diffstat (limited to 'src')
-rw-r--r-- | src/rect.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |