diff options
author | Anton V. Boyarshinov <boyarsh@altlinux.org> | 2020-02-26 15:20:54 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-02 08:20:30 +0100 |
commit | cd8fef8d4b2dfeadc68ffb4d741ab23e9e13dad1 (patch) | |
tree | 09956f00c4a6edc0f5252ce98765a0bb52620077 /blockdev-nbd.c | |
parent | e0175b71638cf4398903c0d25f93fe62e0606389 (diff) | |
download | qemu-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 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions