mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 22:49:12 +00:00
[DESK.CPL] Fix a Clang-Cl warning about "LogPixels"
"warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]" CORE-14306
This commit is contained in:
parent
5ca037d5f6
commit
444553c7f0
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ InitFontSizeList(HWND hWnd)
|
||||||
dwSize = MAX_PATH;
|
dwSize = MAX_PATH;
|
||||||
dwType = REG_DWORD;
|
dwType = REG_DWORD;
|
||||||
|
|
||||||
if (!RegQueryValueEx(hKey, _T("LogPixels"), NULL,
|
if (RegQueryValueEx(hKey, _T("LogPixels"), NULL, &dwType,
|
||||||
&dwType, (LPBYTE)&dwValue, &dwSize) == ERROR_SUCCESS)
|
(LPBYTE)&dwValue, &dwSize) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
dwValue = 0;
|
dwValue = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue