# HG changeset patch # User Sam Lantinga # Date 1229149678 0 # Node ID 09adf48541637295e02e8b75a167ab57e7cdf371 # Parent fe8ea2b39aea338977f4a5db576d478a30d6cc76 indent diff -r fe8ea2b39aea -r 09adf4854163 src/video/win32/SDL_win32window.c --- a/src/video/win32/SDL_win32window.c Sat Dec 13 04:11:24 2008 +0000 +++ b/src/video/win32/SDL_win32window.c Sat Dec 13 06:27:58 2008 +0000 @@ -527,9 +527,9 @@ /* Destroy the window. */ if (SDL_HelperWindow != NULL) { if (DestroyWindow(SDL_HelperWindow) == 0) { - SDL_SetError("Unable to destroy Helper Window: error %d.", - GetLastError()); - return; + SDL_SetError("Unable to destroy Helper Window: error %d.", + GetLastError()); + return; } SDL_HelperWindow = NULL; } @@ -537,9 +537,9 @@ /* Unregister the class. */ if (SDL_HelperWindowClass != 0) { if ((UnregisterClass(SDL_HelperWindowClassName, hInstance)) == 0) { - SDL_SetError("Unable to destroy Helper Window Class: error %d.", - GetLastError()); - return; + SDL_SetError("Unable to destroy Helper Window Class: error %d.", + GetLastError()); + return; } SDL_HelperWindowClass = 0; }