Commit fac0d13e authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent c813ae22
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment