mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 23:29:16 +02:00
win32: fix AreDpiAwarenessContextsEqual result if not available
This commit is contained in:
parent
1751d3c2ed
commit
4a6cd41fca
@ -385,7 +385,7 @@ begin
|
||||
if Assigned(g_AreDpiAwarenessContextsEqual) then
|
||||
Result := g_AreDpiAwarenessContextsEqual(dpiContextA, dpiContextB)
|
||||
else
|
||||
Result := False;
|
||||
Result := dpiContextA=dpiContextB;
|
||||
end;
|
||||
|
||||
function GetSystemMetricsForDpi(nIndex: Integer; dpi: UINT): Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user