Fix a warning about an uninitialized variable

git-svn-id: svn://10.0.0.236/trunk@2549 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser 1998-05-28 19:39:58 +00:00
parent 905fc56f75
commit 63e6adbdb0

View File

@ -4903,7 +4903,7 @@ void CSizingObject::ResizeObject()
}
if( m_bHeightPercent )
{
iHeight = (iHeight * 100) / m_iViewHeight;
iHeight = (iHeightPixels * 100) / m_iViewHeight;
} else {
iHeight = iHeightPixels;
}