sammycage / lunasvg

SVG rendering and manipulation library in C++
MIT License
866 stars 124 forks source link

Bug in property.cpp? #72

Closed Jelim16 closed 2 years ago

Jelim16 commented 2 years ago

While taking a quick look at the source code I noticed this constructor in property.cpp (line 45):

Rect::Rect(const Box& box)
    : x(box.y), y(box.y), w(box.w), h(box.h)
{
}

Shouldn't be there x(box.x) in the first initializer?

sammycage commented 2 years ago

Oh Thanks ;)