Fixed bug - hex editor find dialog does not reopen

This commit is contained in:
adelikat 2008-10-19 23:47:11 +00:00
parent d0992f7ff5
commit 4262ce9054
1 changed files with 2 additions and 0 deletions

View File

@ -818,6 +818,7 @@ void KillMemView()
DestroyWindow(hMemView);
UnregisterClass("MEMVIEW",fceu_hInstance);
hMemView = 0;
hMemFind = 0;
return;
}
@ -1561,6 +1562,7 @@ BOOL CALLBACK MemFindCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
case WM_QUIT:
GetDlgItemText(hwndDlg,IDC_MEMVIEWFIND_WHAT,FindTextBox,59);
DestroyWindow(hwndDlg);
hMemFind = 0;
hwndDlg = 0;
break;
case WM_MOVING: