Commit 0bd55f9d authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

comdlg32: Removed useless NULL check (Coverity).

parent f3aab0c0
...@@ -3219,10 +3219,7 @@ static LRESULT FILEDLG95_LOOKIN_DrawItem(LPDRAWITEMSTRUCT pDIStruct) ...@@ -3219,10 +3219,7 @@ static LRESULT FILEDLG95_LOOKIN_DrawItem(LPDRAWITEMSTRUCT pDIStruct)
ILD_TRANSPARENT ); ILD_TRANSPARENT );
/* Draw the associated text */ /* 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; return NOERROR;
} }
......
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