mirror of
https://github.com/yawut/SDL.git
synced 2026-10-01 20:56:44 -05:00
Added else to make things clear.
This commit is contained in:
@@ -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 */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user