mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +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;
|
||||
dwType = REG_DWORD;
|
||||
|
||||
if (!RegQueryValueEx(hKey, _T("LogPixels"), NULL,
|
||||
&dwType, (LPBYTE)&dwValue, &dwSize) == ERROR_SUCCESS)
|
||||
if (RegQueryValueEx(hKey, _T("LogPixels"), NULL, &dwType,
|
||||
(LPBYTE)&dwValue, &dwSize) != ERROR_SUCCESS)
|
||||
{
|
||||
dwValue = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue