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:
parent
905fc56f75
commit
63e6adbdb0
@ -4903,7 +4903,7 @@ void CSizingObject::ResizeObject()
|
||||
}
|
||||
if( m_bHeightPercent )
|
||||
{
|
||||
iHeight = (iHeight * 100) / m_iViewHeight;
|
||||
iHeight = (iHeightPixels * 100) / m_iViewHeight;
|
||||
} else {
|
||||
iHeight = iHeightPixels;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user