From ea008a82aecf3817cf631746c72214913120047c Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 24 Feb 2011 10:18:59 +0000 Subject: [PATCH] fixes issue 4147 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7235 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/EmuWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/EmuWindow.cpp b/Source/Core/VideoCommon/Src/EmuWindow.cpp index 2de2fd2663..50bed34e4b 100644 --- a/Source/Core/VideoCommon/Src/EmuWindow.cpp +++ b/Source/Core/VideoCommon/Src/EmuWindow.cpp @@ -333,8 +333,7 @@ HWND Create(HWND hParent, HINSTANCE hInstance, const TCHAR *title) void Close() { - if (m_hParent == NULL) - DestroyWindow(m_hWnd); + DestroyWindow(m_hWnd); UnregisterClass(m_szClassName, m_hInstance); }