From 9d3b975bcb84ad1c61d628de2804751c0d0707dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2011 01:27:37 +0300 Subject: Fix code style and missing members initialisations. --- src/guichan/cliprectangle.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/guichan/cliprectangle.cpp') diff --git a/src/guichan/cliprectangle.cpp b/src/guichan/cliprectangle.cpp index f73df1e84..8886bb5e9 100644 --- a/src/guichan/cliprectangle.cpp +++ b/src/guichan/cliprectangle.cpp @@ -51,10 +51,16 @@ namespace gcn { ClipRectangle::ClipRectangle() { - x = y = width = height = xOffset = yOffset = 0; + x = 0; + y = 0; + width = 0; + height = 0; + xOffset = 0; + yOffset = 0; } - ClipRectangle::ClipRectangle(int x, int y, int width, int height, int xOffset, int yOffset) + ClipRectangle::ClipRectangle(int x, int y, int width, int height, + int xOffset, int yOffset) { this->x = x; this->y = y; -- cgit v1.2.3-60-g2f50