comparison src/video/win32/SDL_win32window.c @ 2865:09adf4854163

indent
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Dec 2008 06:27:58 +0000
parents b632927c28c8
children 91a7e08cd238
comparison
equal deleted inserted replaced
2864:fe8ea2b39aea 2865:09adf4854163
525 HINSTANCE hInstance = GetModuleHandleA(NULL); 525 HINSTANCE hInstance = GetModuleHandleA(NULL);
526 526
527 /* Destroy the window. */ 527 /* Destroy the window. */
528 if (SDL_HelperWindow != NULL) { 528 if (SDL_HelperWindow != NULL) {
529 if (DestroyWindow(SDL_HelperWindow) == 0) { 529 if (DestroyWindow(SDL_HelperWindow) == 0) {
530 SDL_SetError("Unable to destroy Helper Window: error %d.", 530 SDL_SetError("Unable to destroy Helper Window: error %d.",
531 GetLastError()); 531 GetLastError());
532 return; 532 return;
533 } 533 }
534 SDL_HelperWindow = NULL; 534 SDL_HelperWindow = NULL;
535 } 535 }
536 536
537 /* Unregister the class. */ 537 /* Unregister the class. */
538 if (SDL_HelperWindowClass != 0) { 538 if (SDL_HelperWindowClass != 0) {
539 if ((UnregisterClass(SDL_HelperWindowClassName, hInstance)) == 0) { 539 if ((UnregisterClass(SDL_HelperWindowClassName, hInstance)) == 0) {
540 SDL_SetError("Unable to destroy Helper Window Class: error %d.", 540 SDL_SetError("Unable to destroy Helper Window Class: error %d.",
541 GetLastError()); 541 GetLastError());
542 return; 542 return;
543 } 543 }
544 SDL_HelperWindowClass = 0; 544 SDL_HelperWindowClass = 0;
545 } 545 }
546 } 546 }
547 547