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

diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index ba77f0f..9b95e9e 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -1879,7 +1879,7 @@
 
     if (!hdpa || i < 0) return -1;
 
-    if (i == 0x7fff)
+    if (i >= 0x7fff)
 	i = hdpa->nItemCount;
 
     if (i >= hdpa->nItemCount)