diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -2,6 +2,12 @@ * embed/mozilla/EphyBrowser.cpp: + One more NS_ENSURE_TRUE. + +2004-05-11 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/EphyBrowser.cpp: + Changed back to NS_ENSURE_TRUE as per discussion in bug #142184. 2004-05-11 Christian Persch <chpe@cvs.gnome.org> 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) { |