summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rect.c2
1 files changed, 1 insertions, 1 deletions
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));