diff options
Diffstat (limited to 'amiga/font.c')
-rw-r--r-- | amiga/font.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amiga/font.c b/amiga/font.c index c8404e2ca..f884d9dc2 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -623,8 +623,10 @@ void ami_font_setdevicedpi(int id) DisplayInfoHandle dih; struct DisplayInfo dinfo; Point dinfo_res; - ULONG ydpi = FIXTOINT(nscss_screen_dpi); - ULONG xdpi = ydpi; + ULONG ydpi = option_amiga_ydpi; + ULONG xdpi = option_amiga_ydpi; + + nscss_screen_dpi = INTTOFIX(option_amiga_ydpi); if(id) { |