devicescale: Rename logPixelSx -> logPixelsX

This commit is contained in:
Hajime Hoshi 2018-10-03 03:13:36 +09:00
parent 399317a2cf
commit cf41e0aa0a

View File

@ -23,7 +23,7 @@ import (
) )
const ( const (
logPixelSx = 88 logPixelsX = 88
monitorDefaultToNearest = 2 monitorDefaultToNearest = 2
mdtEffectiveDpi = 0 mdtEffectiveDpi = 0
) )
@ -150,7 +150,7 @@ func getFromLogPixelSx() float64 {
// Note that GetDeviceCaps with LOGPIXELSX always returns a same value for any monitors // Note that GetDeviceCaps with LOGPIXELSX always returns a same value for any monitors
// even if multiple monitors are used. // even if multiple monitors are used.
dpi, err := getDeviceCaps(dc, logPixelSx) dpi, err := getDeviceCaps(dc, logPixelsX)
if err != nil { if err != nil {
panic(err) panic(err)
} }