Removed message box that would pop up if a RunMRU list was not found.

This commit is contained in:
Nix N. Nix 2002-06-28 23:30:07 +00:00 committed by Alexandre Julliard
parent fd40708e38
commit cff4b6d09c
1 changed files with 2 additions and 4 deletions

View File

@ -234,8 +234,6 @@ BOOL CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
return TRUE ;
}
}
/* This should be DefDlgProcA, but that doesn't work */
return FALSE ;
}
@ -255,8 +253,8 @@ void FillList (HWND hCb, char *pszLatest)
0, "", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL))
MessageBoxA (hCb, "Unable to open registry key !", "Nix", MB_OK) ;
if (ERROR_SUCCESS != RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList))
MessageBoxA (hCb, "Unable to grab size for MRUList !", "Nix", MB_OK) ;
RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList) ;
if (icList > 0)
{
pszList = malloc (icList) ;