Skip to content

Commit

Permalink
make nanosvg.h build with watcom
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jun 12, 2018
1 parent f874c52 commit 238483c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nanosvg.h
Expand Up @@ -1487,7 +1487,9 @@ static NSVGcoordinate nsvg__parseCoordinateRaw(const char* str)

static NSVGcoordinate nsvg__coord(float v, int units)
{
NSVGcoordinate coord = {v, units};
NSVGcoordinate coord ;
coord.value = v;
coord.units = units;
return coord;
}

Expand Down

0 comments on commit 238483c

Please sign in to comment.