8000 Update shared-module/bitmaptools/__init__.c · megacoder/circuitpython@4986ad6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4986ad6

Browse files
Update shared-module/bitmaptools/__init__.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
1 parent 9a77199 commit 4986ad6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/bitmaptools/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ STATIC void draw_circle(displayio_bitmap_t *destination,
928928

929929
int16_t d, yb;
930930

931-
mp_arg_validate_int_range(x0, SHRT_MIN, SHRT_MAX, MP_QSTR_x);
932-
mp_arg_validate_int_range(y0, SHRT_MIN, SHRT_MAX, MP_QSTR_y);
931+
mp_arg_validate_int_range(x, SHRT_MIN, SHRT_MAX, MP_QSTR_x);
932+
mp_arg_validate_int_range(y, SHRT_MIN, SHRT_MAX, MP_QSTR_y);
933933

934934
x = MIN(x, destination->width);
935935
x = MAX(0, x);

0 commit comments

Comments
 (0)
0