mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 08:15:36 +00:00
scrrun: Fill find data on second Next() call before testing it.
This commit is contained in:
parent
c813ae2230
commit
fac0d13ee7
@ -510,6 +510,8 @@ static HRESULT WINAPI foldercoll_enumvariant_Next(IEnumVARIANT *iface, ULONG cel
|
||||
|
||||
This->data.u.foldercoll.find = handle;
|
||||
}
|
||||
else if (celt)
|
||||
FindNextFileW(handle, &data);
|
||||
|
||||
do
|
||||
{
|
||||
@ -663,6 +665,8 @@ static HRESULT WINAPI filecoll_enumvariant_Next(IEnumVARIANT *iface, ULONG celt,
|
||||
|
||||
This->data.u.filecoll.find = handle;
|
||||
}
|
||||
else if (celt)
|
||||
FindNextFileW(handle, &data);
|
||||
|
||||
do
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user