diff --git a/SDL2pp/Rect.cc b/SDL2pp/Rect.cc index 89962f8..adbc503 100644 --- a/SDL2pp/Rect.cc +++ b/SDL2pp/Rect.cc @@ -113,6 +113,7 @@ int Rect::GetH() const { Rect& Rect::SetH(int nh) { h = nh; + return *this; } int Rect::GetX2() const {