diff options
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c index 86429ee4b..c8404e2ca 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -634,7 +634,7 @@ void ami_font_setdevicedpi(int id) DTAG_DISP, 0)) { dinfo_res = dinfo.Resolution; - xdpi = (dinfo_res.y / dinfo_res.x) * ydpi; + xdpi = (dinfo_res.x / dinfo_res.y) * ydpi; LOG(("XDPI = %ld, YDPI = %ld (DisplayInfo resolution %ld x %ld)", xdpi, ydpi, dinfo_res.x , dinfo_res.y)); |