Commit 88725cb2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

advpack: Simplify the check for an empty string (PVS-Studio).

parent de092c6b
......@@ -567,7 +567,7 @@ static LPSTR convert_file_list(LPCSTR FileList, DWORD *dwNumFiles)
szConvertedList[dwLen - 1] = '\0';
/* empty list */
if (!lstrlenA(szConvertedList))
if (!szConvertedList[0])
{
HeapFree(GetProcessHeap(), 0, szConvertedList);
return NULL;
......
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