From 4c52f07340d111477498ba47718dbd624bf56556 Mon Sep 17 00:00:00 2001 From: avolkov Date: Wed, 14 Dec 2005 21:47:59 +0000 Subject: [PATCH] Removed unused and no longer needed parameter git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2073 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c b/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c index 1793b1cff..5609edcb0 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c +++ b/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c @@ -106,7 +106,7 @@ process_image (FRAMEPTR FramePtr, SDL_Surface *img[], AniData *ani, int cel_ct) } static void -processFontChar (TFB_Char* CharPtr, SDL_Surface *surf, int charInd) +processFontChar (TFB_Char* CharPtr, SDL_Surface *surf) { int x,y; Uint8 r,g,b,a; @@ -622,8 +622,7 @@ _GetFontData (uio_Stream *fp, DWORD length) continue; } - processFontChar (destChar, bcd->surface, - bcd->index - page->firstChar); + processFontChar (destChar, bcd->surface); SDL_FreeSurface (bcd->surface); if (destChar->disp.height > fontPtr->Leading)