Fixed Windows build

This commit is contained in:
Sam Lantinga 2015-05-28 08:51:59 -07:00
parent 0669a224f5
commit 779d403563
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ WIN_DestroyWindow(_THIS, SDL_Window * window)
if (data) {
ReleaseDC(data->hwnd, data->hdc);
ReleaseProp(data->hwnd, TEXT("SDL_WindowData"));
RemoveProp(data->hwnd, TEXT("SDL_WindowData"));
if (data->created) {
DestroyWindow(data->hwnd);
} else {