Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added else to make things clear.

  • Loading branch information
dewyatt
dewyatt committed Jun 10, 2010
1 parent 64169f7 commit 1c0f4e9edb45e6978c6c578120feb5bf8ffadaa2
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/video/win32/SDL_win32window.c
@@ -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 */
{

0 comments on commit 1c0f4e9

Please sign in to comment.