comctl32: Removed array NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2011-03-15 02:37:02 +01:00 committed by Alexandre Julliard
parent 0bd55f9df1
commit 2cd225b793
1 changed files with 1 additions and 1 deletions

View File

@ -2051,7 +2051,7 @@ TOOLTIPS_OnWMGetText (const TOOLTIPS_INFO *infoPtr, WPARAM size, LPWSTR pszText)
{
LRESULT res;
if(!infoPtr->szTipText || !size)
if(!size)
return 0;
res = min(strlenW(infoPtr->szTipText)+1, size);