scrrun: Fill find data on second Next() call before testing it.

This commit is contained in:
Nikolay Sivov 2014-01-08 12:37:59 +04:00 committed by Alexandre Julliard
parent c813ae2230
commit fac0d13ee7

View file

@ -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
{