| Summary: | SDL_windowswindows.c: Missing dereference | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Markus Rathgeb <maggu2810> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Fix building on windows | ||
This was fixed in hg changeset f40f9d3ca2bc, thanks! --ryan. |
Created attachment 660 [details] Fix building on windows Build for windows will fail in file src/video/windows/SDL_windowswindow.c in function void WIN_DestroyWindow(_THIS, SDL_Window * window) at SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR) data->wndproc); respective SetWindowLong(hwnd, GWL_WNDPROC, (LONG_PTR) data->wndproc); hwnd is not known. It should be changed to data->hwnd.