[PATCH] shell32: autocomplete: we shouldn't pass NULL pceltFetched to IEnumString_Next
Mikołaj Zalewski
mikolaj at zalewski.pl
Thu Jul 24 04:22:48 CDT 2008
---
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;
--
1.5.4
--------------010100010007040300040005--
More information about the wine-patches
mailing list