From cf41e0aa0afbc337c0ef47c70339a8863479a027 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 3 Oct 2018 03:13:36 +0900 Subject: [PATCH] devicescale: Rename logPixelSx -> logPixelsX --- internal/devicescale/impl_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/devicescale/impl_windows.go b/internal/devicescale/impl_windows.go index bffa6a257..d2b6aceeb 100644 --- a/internal/devicescale/impl_windows.go +++ b/internal/devicescale/impl_windows.go @@ -23,7 +23,7 @@ import ( ) const ( - logPixelSx = 88 + logPixelsX = 88 monitorDefaultToNearest = 2 mdtEffectiveDpi = 0 ) @@ -150,7 +150,7 @@ func getFromLogPixelSx() float64 { // Note that GetDeviceCaps with LOGPIXELSX always returns a same value for any monitors // even if multiple monitors are used. - dpi, err := getDeviceCaps(dc, logPixelSx) + dpi, err := getDeviceCaps(dc, logPixelsX) if err != nil { panic(err) }