DPA_InsertPtr (A3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog
  No need to increment item size, it's already adjusted by DPA_SetPtr
  (found, and fixed by Carlos <clozano@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;
 }
 



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux