setupapi: Fixed wrong check (Coverity).

This commit is contained in:
Paul Vriens 2006-09-17 10:24:41 +02:00 committed by Alexandre Julliard
parent 1059f697f0
commit 270dbc9d07
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExA(
if (ClassNameW == NULL)
return FALSE;
if (MachineNameW)
if (MachineName)
{
MachineNameW = MultiByteToUnicode(MachineName, CP_ACP);
if (MachineNameW == NULL)