diff options
author | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
commit | 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch) | |
tree | c44c4e61f18ddd537f7082cb48869cf33d422fbd /backends/wince/CEgui/GUIElement.cpp | |
parent | 86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff) | |
download | scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2 scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip |
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'backends/wince/CEgui/GUIElement.cpp')
-rw-r--r-- | backends/wince/CEgui/GUIElement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/CEgui/GUIElement.cpp b/backends/wince/CEgui/GUIElement.cpp index b5732f4653..ae5292660d 100644 --- a/backends/wince/CEgui/GUIElement.cpp +++ b/backends/wince/CEgui/GUIElement.cpp @@ -42,7 +42,7 @@ namespace CEGUI { _height = _background->height(); _width = _background->width(); } - else + else if (_background->height() != _height || _background->width() != _width) { delete _background; _background = NULL; @@ -50,7 +50,7 @@ namespace CEGUI { } return true; } - + void GUIElement::move(int x, int y) { _x = x; _y = y; @@ -79,7 +79,7 @@ namespace CEGUI { if (x >= _x && x <= _x + _width && y >= _y && y <= _y + _height) return true; else - return false; + return false; } void GUIElement::setVisible(bool visibility) { |