j
k
j a
j l
On February 2, 2003 05:46 pm, Duane Clark wrote:
infoPtr->nItemCount = nItems;
We should have infoPtr->nItemCount correct at the end of every iteration through the loop, otherwise we get into problems if we run out of memory, and we exit the look early:
if ( !(lpItem = (ITEM_INFO *)COMCTL32_Alloc(sizeof(ITEM_INFO))) ) return 0;
if ( !(lpItem = (ITEM_INFO *)COMCTL32_Alloc(sizeof(ITEM_INFO))) )
return 0;
Show replies by date
wine-devel@winehq.org
Add to favorites Remove from favorites