mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
pdh: Fixed wrong condition.
This commit is contained in:
parent
c46327b40c
commit
22aed3267b
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ PDH_STATUS WINAPI PdhLookupPerfNameByIndexW( LPCWSTR machine, DWORD index, LPWST
|
|||
return PDH_CSTATUS_NO_MACHINE;
|
||||
}
|
||||
|
||||
if (!buffer && !size) return PDH_INVALID_ARGUMENT;
|
||||
if (!buffer || !size) return PDH_INVALID_ARGUMENT;
|
||||
if (!index) return ERROR_SUCCESS;
|
||||
|
||||
for (i = 0; i < sizeof(counter_sources) / sizeof(counter_sources[0]); i++)
|
||||
|
|
Loading…
Reference in a new issue