diff options
author | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
commit | b3c6751b9b7fc1401fd5e87a034cdaec92b67b20 (patch) | |
tree | aa00dba58fb88ea2e095b886963370c7290c692b /gui/ThemeLayout.cpp | |
parent | 7c1eb057146af11793c627327f3fefe309d27fbb (diff) | |
download | scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.gz scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.bz2 scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.zip |
Strip trailing whitespaces in the whole code base.
svn-id: r40867
Diffstat (limited to 'gui/ThemeLayout.cpp')
-rw-r--r-- | gui/ThemeLayout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/ThemeLayout.cpp b/gui/ThemeLayout.cpp index ab6d4c7a0e..3afded5504 100644 --- a/gui/ThemeLayout.cpp +++ b/gui/ThemeLayout.cpp @@ -192,7 +192,7 @@ void ThemeLayoutStacked::reflowLayoutVertical() { // Advance the vertical offset by the height of the newest item, plus // the item spacing value. curY += _children[i]->getHeight() + _spacing; - + // Update width and height of this stack layout _w = MAX(_w, (int16)(_children[i]->getWidth() + _padding.left + _padding.right)); _h += _children[i]->getHeight() + _spacing; @@ -205,7 +205,7 @@ void ThemeLayoutStacked::reflowLayoutVertical() { // If there were any items with undetermined height, then compute and set // their height now. We do so by determining how much space is left, and - // then distributing this equally over all items which need auto-resizing. + // then distributing this equally over all items which need auto-resizing. if (rescount) { int newh = (getParentHeight() - _h - _padding.bottom) / rescount; @@ -268,7 +268,7 @@ void ThemeLayoutStacked::reflowLayoutHorizontal() { // If there were any items with undetermined width, then compute and set // their width now. We do so by determining how much space is left, and - // then distributing this equally over all items which need auto-resizing. + // then distributing this equally over all items which need auto-resizing. if (rescount) { int neww = (getParentWidth() - _w - _padding.right) / rescount; |