style cleanup: indent/whitespace

This commit is contained in:
Campbell Barton 2013-08-19 01:48:44 +00:00
parent 2060bb114a
commit 47c23750e8
7 changed files with 41 additions and 46 deletions

@ -1136,8 +1136,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
* function when the application obtains a WM_PAINT message by using the GetMessage or
* PeekMessage function.
*/
if(!window->m_inLiveResize)
{
if (!window->m_inLiveResize) {
event = processWindowEvent(GHOST_kEventWindowUpdate, window);
::ValidateRect(hwnd, NULL);
}
@ -1163,13 +1162,11 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
* message without calling DefWindowProc.
*/
/* we get first WM_SIZE before we fully init. So, do not dispatch before we continiously resizng */
if(window->m_inLiveResize)
{
if(window->m_inLiveResize) {
system->pushEvent(processWindowEvent(GHOST_kEventWindowSize, window));
system->dispatchEvents();
}
else
{
else {
event = processWindowEvent(GHOST_kEventWindowSize, window);
}
break;
@ -1188,13 +1185,11 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
* message without calling DefWindowProc.
*/
/* see WM_SIZE comment*/
if(window->m_inLiveResize)
{
if (window->m_inLiveResize) {
system->pushEvent(processWindowEvent(GHOST_kEventWindowMove, window));
system->dispatchEvents();
}
else
{
else {
event = processWindowEvent(GHOST_kEventWindowMove, window);
}