Hacky fix for the crash of the IO reg view tool.

Reason of the crash: a WM_COMMAND message was being sent for IDC_AUTO_UPDATE_SECS before the WM_INITDIALOG message was sent. I can't figure out why.
This commit is contained in:
luigi__ 2009-04-07 16:37:01 +00:00
parent 97ac62d69f
commit 4b7b652f47
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ BOOL CALLBACK IoregView_Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
SendMessage(hwnd, WM_COMMAND, IDC_REFRESH, 0);
return 1;
case WM_COMMAND :
if(IORegView == NULL) return 0;
switch (LOWORD (wParam))
{
case IDC_FERMER :