DPA_InsertPtr

Dimitrie O. Paun dpaun at rogers.com
Tue Oct 22 18:01:15 CDT 2002


This silly thing is never ending...
Relative to Michael's patches.

ChangeLog
  Append to the end of the DPA, if insert index is too large.

--- ./dlls/comctl32/comctl32undoc.c.m   Tue Oct 22 18:58:23 2002
+++ ./dlls/comctl32/comctl32undoc.c     Tue Oct 22 18:58:31 2002
@@ -1879,7 +1879,7 @@

     if (!hdpa || i < 0) return -1;

-    if (i == 0x7fff)
+    if (i >= 0x7fff)
        i = hdpa->nItemCount;

     if (i >= hdpa->nItemCount)

-- 
Dimi.




More information about the wine-patches mailing list