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:
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user