comdlg32: Removed useless NULL check (Coverity).

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

View File

@ -3219,10 +3219,7 @@ static LRESULT FILEDLG95_LOOKIN_DrawItem(LPDRAWITEMSTRUCT pDIStruct)
ILD_TRANSPARENT );
/* Draw the associated text */
if(sfi.szDisplayName)
TextOutW(pDIStruct->hDC,rectText.left,rectText.top,sfi.szDisplayName,lstrlenW(sfi.szDisplayName));
TextOutW(pDIStruct->hDC,rectText.left,rectText.top,sfi.szDisplayName,lstrlenW(sfi.szDisplayName));
return NOERROR;
}