diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-11 21:59:05 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-11 21:59:05 +0800 |
commit | b11322d5c6d8f4dce70b4a7da5e06defb084e7f7 (patch) | |
tree | ddf636e20d3a702d7f79afe1c7e998b4b2e8a079 /embed/mozilla/EphyBrowser.cpp | |
parent | 9ce26a3cbd72d907209829bb2d128b163cf0667d (diff) | |
download | gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.gz gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.bz2 gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.lz gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.xz gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.tar.zst gsoc2013-epiphany-b11322d5c6d8f4dce70b4a7da5e06defb084e7f7.zip |
One more NS_ENSURE_TRUE.
2004-05-11 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyBrowser.cpp:
One more NS_ENSURE_TRUE.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |