Module: wine Branch: master Commit: 763018e176053b838c42e18048d5ee9dc50bcd41 URL: http://source.winehq.org/git/wine.git/?a=commit;h=763018e176053b838c42e18048...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Thu Jul 24 11:22:48 2008 +0200
shell32: autocomplete: Don't pass NULL pceltFetched to IEnumString_Next.
---
dlls/shell32/autocomplete.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c index 4c32b3f..5eb76f7 100644 --- a/dlls/shell32/autocomplete.c +++ b/dlls/shell32/autocomplete.c @@ -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;