On October 20, 2002 12:33 pm, Paul Rupe wrote:
I was just looking at this same problem. Should we not also remove the line hdpa->nItemCount++? DPA_SetPtr already does this (which is why we needed the -1 you added), so I think we end up incrementing it twice.
You are correct. I've actually sent the patch in about 5minutes ago ... :)
For comparison, here's the patch I was about to send (relative to the first comctl32undoc.c patch):
Yup, that's what we need to end up with.