From 63e6adbdb079a4a5841f08ce3ce05bd24deebc0d Mon Sep 17 00:00:00 2001 From: sfraser Date: Thu, 28 May 1998 19:39:58 +0000 Subject: [PATCH] Fix a warning about an uninitialized variable git-svn-id: svn://10.0.0.236/trunk@2549 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/lib/layout/edtutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }