Skip to content

Commit e35bcd3

Browse files
Use the modified args to sort in displayio.Group
1 parent fdfcaf0 commit e35bcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/displayio/Group.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ STATIC mp_obj_t displayio_group_obj_sort(size_t n_args, const mp_obj_t *pos_args
335335
args[i] = pos_args[i];
336336
}
337337
args[0] = MP_OBJ_FROM_PTR(self->members);
338-
return mp_obj_list_sort(n_args, pos_args, kw_args);
338+
return mp_obj_list_sort(n_args, args, kw_args);
339339
}
340340
MP_DEFINE_CONST_FUN_OBJ_KW(displayio_group_sort_obj, 1, displayio_group_obj_sort);
341341

0 commit comments

Comments
 (0)