Skip to content

Commit

Permalink
fix(X11): CS0472 The result of the expression is always 'false' (#13510)
Browse files Browse the repository at this point in the history
  • Loading branch information
workgroupengineering authored Nov 7, 2023
1 parent 99737a8 commit acd626b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.X11/Screens/X11Screens.Scaling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class UserScalingConfiguration
}


if (globalFactorString == null && screenFactorsString == null && usePhysicalDpi == null)
if (globalFactorString == null && screenFactorsString == null)
return null;

return (userConfig, globalFactor ?? 1, usePhysicalDpi);
Expand Down Expand Up @@ -246,4 +246,4 @@ static IScalingProvider GetScalingProvider(AvaloniaX11Platform platform)

return provider;
}
}
}

0 comments on commit acd626b

Please sign in to comment.