Skip to content

Commit

Permalink
indxf: allow empty num_classes for <=r2000
Browse files Browse the repository at this point in the history
e.g. r14 dxf's

Fixes GH #1068
  • Loading branch information
rurban committed Feb 25, 2025
1 parent 17d78ce commit f180fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/in_dxf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ dxf_classes_read (Bit_Chain *restrict dat, Dwg_Data *restrict dwg)
if (!pair)
return 1;
}
else
else if (dwg->version >= R_2000)
{
LOG_ERROR ("2 CLASSES must be followed by 0 CLASS")
DXF_RETURN_EOF (DWG_ERR_INVALIDDWG);
Expand Down

0 comments on commit f180fac

Please sign in to comment.