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 4a05e93 commit 129c636Copy full SHA for 129c636
shared-bindings/_protomatter/Protomatter.c
@@ -332,7 +332,7 @@ STATIC const framebuffer_p_t protomatter_protomatter_proto = {
332
STATIC mp_int_t protomatter_protomatter_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_uint_t flags) {
333
protomatter_protomatter_obj_t *self = (protomatter_protomatter_obj_t*)self_in;
334
// a readonly framebuffer would be unusual but not impossible
335
- if((flags & MP_BUFFER_WRITE) && !(self->bufinfo.typecode & MP_OBJ_ARRAY_TYPECODE_FLAG_RW)) {
+ if ((flags & MP_BUFFER_WRITE) && !(self->bufinfo.typecode & MP_OBJ_ARRAY_TYPECODE_FLAG_RW)) {
336
return 1;
337
}
338
*bufinfo = self->bufinfo;
0 commit comments