From 81515ab405d2407d13eb67830dc45294a5bb2843 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 12 Feb 1999 18:58:39 +0000 Subject: [PATCH] compare build error fixed --- xpfe/appshell/src/nsWebShellWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index 5911922d40fa..1f1d42d13e15 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -812,7 +812,7 @@ PRInt32 nsWebShellWindow::GetDocHeight(nsIDocument * aDoc) if (presShell) { nsCOMPtr presContext; presShell->GetPresContext(getter_AddRefs(presContext)); - if (nsnull != presContext) { + if (presContext) { nsRect rect; presContext->GetVisibleArea(rect); nsIFrame * rootFrame;