mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
scrrun: IEnumVARIANT::Next should handle FindNextFileW failure.
This commit is contained in:
parent
6da1993129
commit
8f69ecdff7
@ -519,7 +519,10 @@ static HRESULT WINAPI foldercoll_enumvariant_Next(IEnumVARIANT *iface, ULONG cel
|
||||
This->data.u.foldercoll.find = handle;
|
||||
}
|
||||
else
|
||||
FindNextFileW(handle, &data);
|
||||
{
|
||||
if (!FindNextFileW(handle, &data))
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user