mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
scrrun: Fill find data on second Next() call before testing it.
This commit is contained in:
parent
c813ae2230
commit
fac0d13ee7
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue