make nanosvg.h build with watcom
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 12 Jun 2018 21:51:47 +0300
changeset 5835fa46fcf9499
parent 582 335864e0a7a6
child 584 8fee51506499
make nanosvg.h build with watcom
nanosvg.h
     1.1 --- a/nanosvg.h	Tue Jun 12 21:51:30 2018 +0300
     1.2 +++ b/nanosvg.h	Tue Jun 12 21:51:47 2018 +0300
     1.3 @@ -1487,7 +1487,9 @@
     1.4  
     1.5  static NSVGcoordinate nsvg__coord(float v, int units)
     1.6  {
     1.7 -	NSVGcoordinate coord = {v, units};
     1.8 +	NSVGcoordinate coord ;
     1.9 +	coord.value = v;
    1.10 +	coord.units = units;
    1.11  	return coord;
    1.12  }
    1.13