Fix return value from PyObject_AsNSString. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@190092 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -158,7 +158,7 @@ PyObject_AsNSString( PyObject *val, nsAString &aStr)
|
||||
{
|
||||
if (val == Py_None) {
|
||||
aStr.Truncate();
|
||||
return NS_OK;
|
||||
return PR_TRUE;
|
||||
}
|
||||
PyObject *val_use = NULL;
|
||||
PRBool ok = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user