Skip to content

Commit aa2566e

Browse files
committed
injson/dxf: fix LTYPE.numdashes setter
ERROR: Unknown num_dashes field
1 parent fd809df commit aa2566e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/in_dxf.c

+6
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,12 @@ find_numfield (const Dwg_DYNAPI_field *restrict fields,
996996
{
997997
if (strEQ (s, f->name))
998998
return f;
999+
// but not HATCH
1000+
else if (strEQc (key, "dashes") && strEQc (f->type, "Dwg_LTYPE_dash*"))
1001+
{
1002+
strcpy (s, "numdashes");
1003+
goto search;
1004+
}
9991005
}
10001006
// or num_owner
10011007
if (strEQc (key, "vertex"))

0 commit comments

Comments
 (0)