Commit in reactos/lib/comctl32 on MAIN
comctl32undoc.c+1-11.5 -> 1.6
Sync with Wine-20040213:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
Fix nGrow initialization in DPA_CreateEx.

reactos/lib/comctl32
comctl32undoc.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- comctl32undoc.c	28 Jan 2004 21:40:09 -0000	1.5
+++ comctl32undoc.c	17 Feb 2004 22:32:53 -0000	1.6
@@ -2195,7 +2195,7 @@
 	hdpa = Alloc (sizeof(*hdpa));
 
     if (hdpa) {
-	hdpa->nGrow = min(8, nGrow);
+	hdpa->nGrow = max(8, nGrow);
 	hdpa->hHeap = hHeap ? hHeap : GetProcessHeap();
 	hdpa->nMaxCount = hdpa->nGrow * 2;
 	hdpa->ptrs = HeapAlloc (hdpa->hHeap, HEAP_ZERO_MEMORY,
CVSspam 0.2.8