From 516076ed81783ff463b1978f945b72e3749af1fd Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 8 Mar 2006 05:16:32 +0000 Subject: [PATCH] The source width/height also need to be multiplied by the scaling factor. This may fix PR:53 --- src/conio/sdl_con.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c index 200aa29778..ca326b05b0 100644 --- a/src/conio/sdl_con.c +++ b/src/conio/sdl_con.c @@ -1173,8 +1173,8 @@ int sdl_draw_one_char(unsigned short sch, unsigned int x, unsigned int y, struct dst.w=vs->charwidth*vs->scaling; dst.h=vs->charheight*vs->scaling; src.x=0; - src.w=vs->charwidth; - src.h=vs->charheight; + src.w=vs->charwidth*vs->scaling; + src.h=vs->charheight*vs->scaling; src.y=vs->charheight*vs->scaling; ch=sch & 0xff; if((sch >>15) && !(vs->blink)) -- GitLab