Skip to content

Commit

Permalink
- fixed bad aspect ratio calculation in DStatusBarCore::SetScale
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jan 9, 2022
1 parent 3c54495 commit 2377b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/statusbar/base_sbar.cpp
Expand Up @@ -352,7 +352,7 @@ void DStatusBarCore::SetScale()
int horz = HorizontalResolution;
int vert = VerticalResolution;
double refaspect = horz / double(vert);
double screenaspect = w / double(h);
double screenaspect = ActiveRatio(w, h);

if ((horz == 320 && vert == 200) || (horz == 640 && vert == 400))
{
Expand Down

0 comments on commit 2377b17

Please sign in to comment.