Skip to content

Commit c97bd42

Browse files
authored
Merge pull request #77 from mikeller/update_mares_sirius_support
Add support for a new Sirius profile version
2 parents 268e09c + 39cd0e7 commit c97bd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mares_iconhd_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ mares_genius_foreach (dc_parser_t *abstract, dc_sample_callback_t callback, void
10711071
unsigned int profile_minor = data[offset + 2];
10721072
unsigned int profile_major = data[offset + 3];
10731073
if (profile_type > 1 ||
1074-
(profile_type == 0 && OBJVERSION(profile_major,profile_minor) > OBJVERSION(1,0)) ||
1074+
(profile_type == 0 && OBJVERSION(profile_major,profile_minor) > OBJVERSION(2,0)) ||
10751075
(profile_type == 1 && OBJVERSION(profile_major,profile_minor) > OBJVERSION(0,2))) {
10761076
ERROR (abstract->context, "Unsupported object type (%u) or version (%u.%u).",
10771077
profile_type, profile_major, profile_minor);

0 commit comments

Comments
 (0)