DPA_InsertPtr (A3)
Dimitrie O. Paun
dpaun at rogers.com
Sun Oct 20 11:34:56 CDT 2002
ChangeLog
No need to increment item size, it's already adjusted by DPA_SetPtr
(found, and fixed by Carlos <clozano at andago.com>)
--- dlls/comctl32/comctl32undoc.c.A2 Sun Oct 20 11:49:46 2002
+++ dlls/comctl32/comctl32undoc.c Sun Oct 20 12:07:07 2002
@@ -1886,7 +1886,6 @@
if (!DPA_SetPtr(hdpa, hdpa->nItemCount, 0)) return -1;
memmove (hdpa->ptrs + i + 1, hdpa->ptrs + i, (hdpa->nItemCount - i - 1) * sizeof(LPVOID));
hdpa->ptrs[i] = p;
- hdpa->nItemCount++;
return i;
}
More information about the wine-patches
mailing list