mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
scrrun: IEnumVARIANT::Skip shouldn't skip anything if asked number of folder elements is 0.
This commit is contained in:
parent
eb2abf262c
commit
758ebb2121
@ -557,6 +557,8 @@ static HRESULT WINAPI foldercoll_enumvariant_Skip(IEnumVARIANT *iface, ULONG cel
|
||||
|
||||
TRACE("(%p)->(%d)\n", This, celt);
|
||||
|
||||
if (!celt) return S_OK;
|
||||
|
||||
if (!handle)
|
||||
{
|
||||
handle = start_enumeration(This->data.u.foldercoll.coll->path, &data);
|
||||
|
@ -931,7 +931,6 @@ todo_wine
|
||||
hr = IEnumVARIANT_Skip(enumvar, 2);
|
||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
hr = IEnumVARIANT_Skip(enumvar, 0);
|
||||
todo_wine
|
||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
|
||||
VariantInit(&var2[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user