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

Commit

Permalink
Added else to make things clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
dewyatt committed Jun 10, 2010
1 parent 64169f7 commit 1c0f4e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/win32/SDL_win32window.c
Expand Up @@ -115,7 +115,9 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created)
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 */
{
Expand Down

0 comments on commit 1c0f4e9

Please sign in to comment.