Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32window.c @ 4735:8568ebdb5f1f
Added else to make things clear.
author | dewyatt |
---|---|
date | Wed, 09 Jun 2010 21:36:32 -0400 |
parents | 983eb9d5ed31 |
children | 0c39b36dd104 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c Wed Jun 09 00:03:54 2010 -0400 +++ b/src/video/win32/SDL_win32window.c Wed Jun 09 21:36:32 2010 -0400 @@ -115,7 +115,9 @@ if (data->wndproc == WIN_WindowProc) { data->wndproc = NULL; } - SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR) WIN_WindowProc); + else { + SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR) WIN_WindowProc); + } /* Fill in the SDL window with the window data */ {