Commit f3c93b80 authored by James Hatheway's avatar James Hatheway Committed by Alexandre Julliard

Eliminate unitialized garbage being returned from LISTVIEW_GetItemA.

parent c1159bed
......@@ -5113,6 +5113,11 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
if (lpLVItem->pszText!=dispInfo.item.pszText) {
lstrcpynA(lpLVItem->pszText, dispInfo.item.pszText, lpLVItem->cchTextMax);
}
if (ppszText == NULL)
{
lstrcpynA(lpLVItem->pszText, "", lpLVItem->cchTextMax);
}
}
else if (lpLVItem->mask & LVIF_TEXT)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment