fix if iPadding < 0

This commit is contained in:
Glenn Maynard
2006-06-25 04:00:34 +00:00
parent fa0af16dea
commit db86dbb519
+1 -1
View File
@@ -186,7 +186,7 @@ void BitmapText::BuildChars()
iPadding += m_iVertSpacing;
/* There's padding between every line: */
m_size.y += iPadding * (m_wTextLines.size()-1);
m_size.y += iPadding * int(m_wTextLines.size()-1);
int iY; // the top position of the first row of characters
switch( m_VertAlign )