shell32: autocomplete: Don't pass NULL pceltFetched to IEnumString_Next.

This commit is contained in:
Mikołaj Zalewski 2008-07-24 11:22:48 +02:00 committed by Alexandre Julliard
parent e7d22dc966
commit 763018e176

View File

@ -574,7 +574,8 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
IEnumString_Reset(This->enumstr);
filled = FALSE;
for(cpt = 0;;) {
hr = IEnumString_Next(This->enumstr, 1, &strs, NULL);
ULONG fetched;
hr = IEnumString_Next(This->enumstr, 1, &strs, &fetched);
if (hr != S_OK)
break;