Removed message box that would pop up if a RunMRU list was not found.
This commit is contained in:
parent
fd40708e38
commit
cff4b6d09c
@ -234,8 +234,6 @@ BOOL CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
return TRUE ;
|
return TRUE ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This should be DefDlgProcA, but that doesn't work */
|
|
||||||
return FALSE ;
|
return FALSE ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,8 +253,8 @@ void FillList (HWND hCb, char *pszLatest)
|
|||||||
0, "", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL))
|
0, "", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL))
|
||||||
MessageBoxA (hCb, "Unable to open registry key !", "Nix", MB_OK) ;
|
MessageBoxA (hCb, "Unable to open registry key !", "Nix", MB_OK) ;
|
||||||
|
|
||||||
if (ERROR_SUCCESS != RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList))
|
RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList) ;
|
||||||
MessageBoxA (hCb, "Unable to grab size for MRUList !", "Nix", MB_OK) ;
|
|
||||||
if (icList > 0)
|
if (icList > 0)
|
||||||
{
|
{
|
||||||
pszList = malloc (icList) ;
|
pszList = malloc (icList) ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user