From 15459039f5c63a173a31e6159bd43f162024e108 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Tue, 4 Mar 2003 17:09:27 +0000 Subject: [PATCH] Fix for VC7 compilation git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@852 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/graphics/font.c b/sc2/src/sc2code/libs/graphics/font.c index f7911cfbc..247a09dd6 100644 --- a/sc2/src/sc2code/libs/graphics/font.c +++ b/sc2/src/sc2code/libs/graphics/font.c @@ -160,7 +160,7 @@ TextRect (PTEXT lpText, register PRECT pRect, PBYTE pdelta) { register COORD y; - y = -((FRAME_DESC)FontPtr->CharDesc[ch]).HotSpot.y; + y = -(FontPtr->CharDesc[ch]).HotSpot.y; if (y < top_y) top_y = y; y += GetFrameHeight (&FontPtr->CharDesc[ch]);