We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a77199 commit 4986ad6Copy full SHA for 4986ad6
shared-module/bitmaptools/__init__.c
@@ -928,8 +928,8 @@ STATIC void draw_circle(displayio_bitmap_t *destination,
928
929
int16_t d, yb;
930
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);
+ mp_arg_validate_int_range(x, SHRT_MIN, SHRT_MAX, MP_QSTR_x);
+ mp_arg_validate_int_range(y, SHRT_MIN, SHRT_MAX, MP_QSTR_y);
933
934
x = MIN(x, destination->width);
935
x = MAX(0, x);
0 commit comments