fixes issue 4147
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7235 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
de25440bb3
commit
ea008a82ae
|
@ -333,8 +333,7 @@ HWND Create(HWND hParent, HINSTANCE hInstance, const TCHAR *title)
|
||||||
|
|
||||||
void Close()
|
void Close()
|
||||||
{
|
{
|
||||||
if (m_hParent == NULL)
|
DestroyWindow(m_hWnd);
|
||||||
DestroyWindow(m_hWnd);
|
|
||||||
UnregisterClass(m_szClassName, m_hInstance);
|
UnregisterClass(m_szClassName, m_hInstance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue