Skip to content

Commit

Permalink
Fix property value check
Browse files Browse the repository at this point in the history
  • Loading branch information
jatoben committed Nov 7, 2024
1 parent 03d9c63 commit f76a980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ bool remove_gds_property(Property*& properties, uint16_t attribute) {
}
Property* property = properties;
while (property->next &&
(!is_gds_property(property->next) || property->value->unsigned_integer != attribute))
(!is_gds_property(property->next) || property->next->value->unsigned_integer != attribute))
property = property->next;
if (property->next) {
Property* rem = property->next;
Expand Down

0 comments on commit f76a980

Please sign in to comment.