|
From: <br...@us...> - 2010-02-06 06:17:22
|
Revision: 4087
http://openvrml.svn.sourceforge.net/openvrml/?rev=4087&view=rev
Author: braden
Date: 2010-02-06 06:17:16 +0000 (Sat, 06 Feb 2010)
Log Message:
-----------
Use NPBool instead of PRBool.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/mozilla-plugin/openvrml.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-02-06 06:12:32 UTC (rev 4086)
+++ trunk/ChangeLog 2010-02-06 06:17:16 UTC (rev 4087)
@@ -1,5 +1,9 @@
2010-02-06 Braden McDaniel <br...@en...>
+ * src/mozilla-plugin/openvrml.cpp: Use NPBool instead of PRBool.
+
+2010-02-06 Braden McDaniel <br...@en...>
+
* src/mozilla-plugin/openvrml.cpp: Use C99 sized types instead of
XULRunner-/NSPR-specific ones.
Modified: trunk/src/mozilla-plugin/openvrml.cpp
===================================================================
--- trunk/src/mozilla-plugin/openvrml.cpp 2010-02-06 06:12:32 UTC (rev 4086)
+++ trunk/src/mozilla-plugin/openvrml.cpp 2010-02-06 06:17:16 UTC (rev 4087)
@@ -339,7 +339,7 @@
//
// Make sure the browser supports XEmbed plug-ins.
//
- PRBool supportsXEmbed = PR_FALSE;
+ NPBool supportsXEmbed = false;
err = NPN_GetValue(0, NPNVSupportsXEmbedBool, &supportsXEmbed);
if (err != NPERR_NO_ERROR || !supportsXEmbed) {
@@ -681,7 +681,7 @@
switch (variable) {
case NPPVpluginNeedsXEmbed:
- *static_cast<PRBool *>(value) = PR_TRUE;
+ *static_cast<NPBool *>(value) = true;
break;
case NPPVpluginScriptableNPObject:
assert(npp->pdata);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|