diff --git a/mozilla/lib/layout/edtutil.cpp b/mozilla/lib/layout/edtutil.cpp index 80e3dcddd97..e16260d8b2b 100644 --- a/mozilla/lib/layout/edtutil.cpp +++ b/mozilla/lib/layout/edtutil.cpp @@ -4903,7 +4903,7 @@ void CSizingObject::ResizeObject() } if( m_bHeightPercent ) { - iHeight = (iHeight * 100) / m_iViewHeight; + iHeight = (iHeightPixels * 100) / m_iViewHeight; } else { iHeight = iHeightPixels; }