From 219463337c1ca677c80d1da7ab849f803bba35f8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 8 Oct 2007 18:36:07 +0000 Subject: Make sure PRBool only contains PR_FALSE or PR_TRUE. Bug moz#398599. svn path=/trunk/; revision=7525 --- embed/xulrunner/src/EmbedContentListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3