aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-10-09 02:36:07 +0800
committerChristian Persch <chpe@src.gnome.org>2007-10-09 02:36:07 +0800
commit219463337c1ca677c80d1da7ab849f803bba35f8 (patch)
treed6159db9051a688b684c8cca5cda2a084d11e3de /embed
parentd4d71ddbfe706b2c5e2b7747919cbb3dffd83b58 (diff)
downloadgsoc2013-epiphany-219463337c1ca677c80d1da7ab849f803bba35f8.tar.gz
gsoc2013-epiphany-219463337c1ca677c80d1da7ab849f803bba35f8.tar.zst
gsoc2013-epiphany-219463337c1ca677c80d1da7ab849f803bba35f8.zip
Make sure PRBool only contains PR_FALSE or PR_TRUE. Bug moz#398599.
svn path=/trunk/; revision=7525
Diffstat (limited to 'embed')
-rw-r--r--embed/xulrunner/src/EmbedContentListener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/xulrunner/src/EmbedContentListener.cpp b/embed/xulrunner/src/EmbedContentListener.cpp
index 9c5c0be78..08de47631 100644
--- a/embed/xulrunner/src/EmbedContentListener.cpp
+++ b/embed/xulrunner/src/EmbedContentListener.cpp
@@ -85,7 +85,7 @@ EmbedContentListener::OnStartURIOpen(nsIURI *aURI,
gecko_embed_signals[OPEN_URI], 0,
specString.get(), &retval);
- *aAbortOpen = retval;
+ *aAbortOpen = retval != FALSE;
return NS_OK;
}