This commit is contained in:
mkaply%us.ibm.com 2002-01-09 21:21:02 +00:00
Родитель b88038f258
Коммит b5a6162c2d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -778,13 +778,13 @@ PRBool nsXULWindow::LoadPositionFromXUL()
// if we're the hidden window, don't try to validate our size/position. We're
// special.
if (mIsHiddenWindow)
return false;
return PR_FALSE;
nsCOMPtr<nsIDOMElement> windowElement;
GetWindowDOMElement(getter_AddRefs(windowElement));
NS_ASSERTION(windowElement, "no xul:window");
if (!windowElement)
return false;
return PR_FALSE;
PRInt32 currX = 0;
PRInt32 currY = 0;
@ -846,13 +846,13 @@ PRBool nsXULWindow::LoadSizeFromXUL()
// if we're the hidden window, don't try to validate our size/position. We're
// special.
if (mIsHiddenWindow)
return false;
return PR_FALSE;
nsCOMPtr<nsIDOMElement> windowElement;
GetWindowDOMElement(getter_AddRefs(windowElement));
NS_ASSERTION(windowElement, "no xul:window");
if (!windowElement)
return false;
return PR_FALSE;
PRInt32 currWidth = 0;
PRInt32 currHeight = 0;