From 2e79ecf5db6d620abc182842ea95992392e8d25b Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 25 Jun 2007 12:47:13 +0000 Subject: [PATCH] Erroneous division by font size. --- sdl1/pdcscrn.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sdl1/pdcscrn.c b/sdl1/pdcscrn.c index 18b91de5..70a7daaa 100644 --- a/sdl1/pdcscrn.c +++ b/sdl1/pdcscrn.c @@ -13,7 +13,7 @@ #include "pdcsdl.h" -RCSID("$Id: pdcscrn.c,v 1.20 2007/06/24 16:35:33 wmcbrine Exp $") +RCSID("$Id: pdcscrn.c,v 1.21 2007/06/25 12:47:13 wmcbrine Exp $") #include "deffont.h" #include "deficon.h" @@ -109,12 +109,10 @@ int PDC_scr_open(int argc, char **argv) else { if (!pdc_sheight) - pdc_sheight = (pdc_screen->h - pdc_yoffset) / - pdc_fheight; + pdc_sheight = pdc_screen->h - pdc_yoffset; if (!pdc_swidth) - pdc_swidth = (pdc_screen->w - pdc_xoffset) / - pdc_fwidth; + pdc_swidth = pdc_screen->w - pdc_xoffset; } if (!pdc_screen)