From f6eb2a42af12278eae41662627d1febc9338e1bd Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Sun, 17 Nov 2024 15:17:57 +0200 Subject: [PATCH] msvs: fix warning --- src/ruisapp/glue/windows/glue.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ruisapp/glue/windows/glue.cxx b/src/ruisapp/glue/windows/glue.cxx index 7568eb6..f1a6fec 100644 --- a/src/ruisapp/glue/windows/glue.cxx +++ b/src/ruisapp/glue/windows/glue.cxx @@ -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