From 779d4035639904f9d97a7361cc08073a33a9238b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 28 May 2015 08:51:59 -0700 Subject: [PATCH] Fixed Windows build --- src/video/windows/SDL_windowswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c index 5d3260ee9..2dc5386d7 100644 --- a/src/video/windows/SDL_windowswindow.c +++ b/src/video/windows/SDL_windowswindow.c @@ -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 {