From 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 21:48:30 +0300 Subject: Improve constructors in some classes. --- src/guichan/cliprectangle.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/guichan/cliprectangle.cpp') diff --git a/src/guichan/cliprectangle.cpp b/src/guichan/cliprectangle.cpp index 285cbbe81..6e25b668b 100644 --- a/src/guichan/cliprectangle.cpp +++ b/src/guichan/cliprectangle.cpp @@ -53,6 +53,7 @@ namespace gcn { ClipRectangle::ClipRectangle() : + Rectangle(), xOffset(0), yOffset(0) { @@ -65,6 +66,7 @@ namespace gcn ClipRectangle::ClipRectangle(const int x0, const int y0, const int width0, const int height0, const int xOffset0, const int yOffset0) : + Rectangle(), xOffset(xOffset0), yOffset(yOffset0) { -- cgit v1.2.3-70-g09d2