(svn r19089) -Codechange: some minor coding style

This commit is contained in:
rubidium
2010-02-10 20:53:23 +00:00
parent aab7768a3e
commit 249acc9e4f
2 changed files with 3 additions and 3 deletions

View File

@@ -1038,9 +1038,9 @@ static bool IsGoodAutoPlace2(int left, int top, int width, int height, Point &po
/* Left part of the rectangle may be at most 1/4 off-screen,
* right part of the rectangle may be at most 1/2 off-screen
*/
if (left < -(width>>2) || left > _screen.width - (width>>1)) return false;
if (left < -(width >> 2) || left > _screen.width - (width >> 1)) return false;
/* Bottom part of the rectangle may be at most 1/4 off-screen */
if (top < 22 || top > _screen.height - (height>>2)) return false;
if (top < 22 || top > _screen.height - (height >> 2)) return false;
/* Make sure it is not obscured by any window. */
const Window *w;