On 19 February 2011 11:42, Nikolay Sivov bunglehead@gmail.com wrote:
I think it's enough to add a mask check here:
if (bResult && lpLVItem->pszText != pszText)
to keep a single call of GetItem.
But isn't
pszText = lpLVItem->pszText;
undefined behaviour if lpLVItem->pszText is not initialized?