8000 fix dirty area initial points · timhawes/circuitpython@80c7a15 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80c7a15

Browse files
committed
fix dirty area initial points
1 parent 4c95150 commit 80c7a15

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

shared-module/bitmaptools/__init__.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,6 @@ void common_hal_bitmaptools_boundary_fill(displayio_bitmap_t *destination,
260260
return;
261261
}
262262

263-
264-
265-
266263
uint32_t current_point_color_value;
267264

268265
// the list of points that we'll check
@@ -276,8 +273,8 @@ void common_hal_bitmaptools_boundary_fill(displayio_bitmap_t *destination,
276273
);
277274

278275
int16_t minx = x;
279-
int16_t miny = x;
280-
int16_t maxx = y;
276+
int16_t miny = y;
277+
int16_t maxx = x;
281278
int16_t maxy = y;
282279

283280
if (replaced_color_value == INT_MAX) {

0 commit comments

Comments
 (0)
0