Skip to content

Commit

Permalink
msvs: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 17, 2024
1 parent 22730ac commit f6eb2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ruisapp/glue/windows/glue.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ ruis::real get_dots_per_inch(HDC dc)
ruis::real(GetDeviceCaps(dc, VERTRES)) * std::deci::den / ruis::real(GetDeviceCaps(dc, VERTSIZE))) /
ruis::real(num_dimensions);

return ruis::real(dots_per_cm) * utki::cm_per_inch;
return ruis::real(dots_per_cm) * ruis::real(utki::cm_per_inch);
}
} // namespace

Expand Down

0 comments on commit f6eb2a4

Please sign in to comment.