From 878a5324b46d6ca77e978e5cc73e490ebc746bf1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 10 Nov 2011 06:38:26 -0500 Subject: [PATCH] Fixed whitespace --- src/video/windows/SDL_windowswindow.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c index 3caac8010..ed3a53e91 100644 --- a/src/video/windows/SDL_windowswindow.c +++ b/src/video/windows/SDL_windowswindow.c @@ -55,18 +55,18 @@ GetWindowStyle(SDL_Window * window) { DWORD style = 0; - if (window->flags & SDL_WINDOW_FULLSCREEN) { + if (window->flags & SDL_WINDOW_FULLSCREEN) { style |= STYLE_FULLSCREEN; - } else { - if (window->flags & SDL_WINDOW_BORDERLESS) { + } else { + if (window->flags & SDL_WINDOW_BORDERLESS) { style |= STYLE_BORDERLESS; - } else { + } else { style |= STYLE_NORMAL; - } - if (window->flags & SDL_WINDOW_RESIZABLE) { + } + if (window->flags & SDL_WINDOW_RESIZABLE) { style |= STYLE_RESIZABLE; - } - } + } + } return style; } @@ -181,7 +181,7 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created) } } - /* Enable multi-touch */ + /* Enable multi-touch */ if (videodata->RegisterTouchWindow) { videodata->RegisterTouchWindow(hwnd, (TWF_FINETOUCH|TWF_WANTPALM)); } @@ -634,7 +634,7 @@ WIN_DestroyWindow(_THIS, SDL_Window * window) if (data) { #ifdef _WIN32_WCE - WINCE_ShowWindow(_this, window, 0); + WINCE_ShowWindow(_this, window, 0); #endif ReleaseDC(data->hwnd, data->hdc); if (data->created) {