Fixing build bustage.

git-svn-id: svn://10.0.0.236/trunk@34379 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 1999-06-09 07:51:52 +00:00
parent 7cb2ba1a65
commit a4990a8363
2 changed files with 6 additions and 6 deletions

View File

@ -203,8 +203,8 @@ NS_METHOD nsDOMEvent::GetScreenX(PRInt32* aScreenX)
//Add extra since loop will free one.
NS_ADDREF(parent);
nsIWidget* tmp;
while (nsnull != prent) {
parent->GetBoundsa(bounds);
while (nsnull != parent) {
parent->GetBounds(bounds);
offset.x += bounds.x;
tmp = parent;
parent = tmp->GetParent();
@ -413,7 +413,7 @@ NS_METHOD nsDOMEvent::GetRangeOffset(PRInt32* aRangeOffset)
if (targetFrame) {
nsIContent* parent = nsnull;
PRUint32 actualOffset;
PRInt32 offset, endOffset;
PRInt32 endOffset;
if (NS_SUCCEEDED(targetFrame->GetPosition(*mPresContext,
(nsGUIEvent*)mEvent,

View File

@ -203,8 +203,8 @@ NS_METHOD nsDOMEvent::GetScreenX(PRInt32* aScreenX)
//Add extra since loop will free one.
NS_ADDREF(parent);
nsIWidget* tmp;
while (nsnull != prent) {
parent->GetBoundsa(bounds);
while (nsnull != parent) {
parent->GetBounds(bounds);
offset.x += bounds.x;
tmp = parent;
parent = tmp->GetParent();
@ -413,7 +413,7 @@ NS_METHOD nsDOMEvent::GetRangeOffset(PRInt32* aRangeOffset)
if (targetFrame) {
nsIContent* parent = nsnull;
PRUint32 actualOffset;
PRInt32 offset, endOffset;
PRInt32 endOffset;
if (NS_SUCCEEDED(targetFrame->GetPosition(*mPresContext,
(nsGUIEvent*)mEvent,