EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
321 stars 93 forks source link

Format parameter type Mismatch #189

Closed TommiPrami closed 3 years ago

TommiPrami commented 3 years ago

procedure AppendInt(var s: string; val: double); begin s := Format('%s%1.0d ',[s, val]); end;

I think it should be s := Format('%s%1.0f ',[s, val]);, // <- because val is double, not integer.

at Image32_SVG_Writer.pas.

Could not find Image32 repository/Bug Tracker so hope it gets notified from here.

-Tee-

AngusJohnson commented 3 years ago

Could not find Image32 repository/Bug Tracker so hope it gets notified from here.

Thanks for the bug report. I'll fix it soon. Future bug reports are more likely to be noticed here ... https://sourceforge.net/p/image32/tickets/ (and is less likely to annoy the developers of SVGIconImageList 😜).