aboutsummaryrefslogtreecommitdiff
path: root/util/host-utils.c
diff options
context:
space:
mode:
authorAnton V. Boyarshinov <boyarsh@altlinux.org>2020-02-26 15:20:54 +0300
committerGerd Hoffmann <kraxel@redhat.com>2020-03-02 08:20:30 +0100
commitcd8fef8d4b2dfeadc68ffb4d741ab23e9e13dad1 (patch)
tree09956f00c4a6edc0f5252ce98765a0bb52620077 /util/host-utils.c
parente0175b71638cf4398903c0d25f93fe62e0606389 (diff)
downloadqemu-cd8fef8d4b2dfeadc68ffb4d741ab23e9e13dad1.zip
qemu-cd8fef8d4b2dfeadc68ffb4d741ab23e9e13dad1.tar.gz
qemu-cd8fef8d4b2dfeadc68ffb4d741ab23e9e13dad1.tar.bz2
Arithmetic error in EDID generation fixed
To calculate screen size in centimeters we should calculate: pixels/dpi*2.54 but not pixels*dpi/2540 Using wrong formula we actually get 65 DPI and very small fonts. Signed-off-by: Anton V. Boyarshinov <boyarsh@altlinux.org> Message-id: 20200226122054.366b9cda@table.localdomain Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util/host-utils.c')
0 files changed, 0 insertions, 0 deletions