ALL: Fix whitespaces / indention
svn-id: r55818
This commit is contained in:
parent
377b4c67d9
commit
2d1c8a3533
50 changed files with 78 additions and 70 deletions
|
@ -122,7 +122,7 @@ ControlButton::ControlButton(uint16 x, uint16 y, uint32 resId, uint8 id, uint8 f
|
|||
_width = (_width > SCREEN_WIDTH) ? SCREEN_WIDTH : _width;
|
||||
_height = _resMan->getUint16(tmp->height);
|
||||
if ((x == 0) && (y == 0)) { // center the frame (used for panels);
|
||||
_x = (((640 - _width) / 2) < 0)? 0 : ((640 - _width) / 2) ;
|
||||
_x = (((640 - _width) / 2) < 0)? 0 : ((640 - _width) / 2);
|
||||
_y = (((480 - _height) / 2) < 0)? 0 : ((480 - _height) / 2);
|
||||
}
|
||||
_dstBuf = screenBuf + _y * SCREEN_WIDTH + _x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue