Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 10, 2011
1 parent fff9e01 commit 878a532
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/video/windows/SDL_windowswindow.c
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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));
}
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 878a532

Please sign in to comment.