Fix for VC7 compilation

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@852 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-03-04 17:09:27 +00:00
parent 7fee7237d2
commit 15459039f5
+1 -1
View File
@@ -160,7 +160,7 @@ TextRect (PTEXT lpText, register PRECT pRect, PBYTE pdelta)
{ {
register COORD y; register COORD y;
y = -((FRAME_DESC)FontPtr->CharDesc[ch]).HotSpot.y; y = -(FontPtr->CharDesc[ch]).HotSpot.y;
if (y < top_y) if (y < top_y)
top_y = y; top_y = y;
y += GetFrameHeight (&FontPtr->CharDesc[ch]); y += GetFrameHeight (&FontPtr->CharDesc[ch]);