From b11322d5c6d8f4dce70b4a7da5e06defb084e7f7 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 11 May 2004 13:59:05 +0000 Subject: One more NS_ENSURE_TRUE. 2004-05-11 Christian Persch * embed/mozilla/EphyBrowser.cpp: One more NS_ENSURE_TRUE. --- ChangeLog | 6 ++++++ embed/mozilla/EphyBrowser.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c1ae202ab..8b738c007 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-05-11 Christian Persch + + * embed/mozilla/EphyBrowser.cpp: + + One more NS_ENSURE_TRUE. + 2004-05-11 Christian Persch * embed/mozilla/EphyBrowser.cpp: diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 1ca7d44e9..af0702ba1 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -383,7 +383,7 @@ nsresult EphyBrowser::GoToHistoryIndex (PRInt16 index) nsresult EphyBrowser::SetZoom (float aZoom, PRBool reflow) { - if (!mWebBrowser) return NS_ERROR_FAILURE; + NS_ENSURE_TRUE (mWebBrowser, NS_ERROR_FAILURE); if (reflow) { -- cgit v1.2.3