diff --git a/lcl/interfaces/win32/win32int.pp b/lcl/interfaces/win32/win32int.pp index bdb814579f..a97a58aa70 100644 --- a/lcl/interfaces/win32/win32int.pp +++ b/lcl/interfaces/win32/win32int.pp @@ -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;