Skip to content

Commit

Permalink
fix failing test (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Chalakov <[email protected]>
  • Loading branch information
AntonCha and Anton Chalakov authored Nov 7, 2024
1 parent 79e1fa7 commit 68d691e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/entity.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ void Sketchup_Entity_attribute_dictionary_Iterator(SUAttributeDictionaryRef dict

static VALUE Sketchup_Entity_attribute_dictionary(int argc, VALUE* argv, VALUE self)
{
if (!rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_MATERIALS)))
if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_MATERIALS)))
return Qnil;
if (!rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_DEFINITIONLIST)))
if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_DEFINITIONLIST)))
return Qnil;
SUEntityRef entity = {DATA_PTR(self)};
struct AttributeDictionaryIterationContext attribute_dictionary_struct = {argv[0], SU_INVALID};
Expand Down

0 comments on commit 68d691e

Please sign in to comment.