bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -96,7 +96,7 @@ void AddStandardPaths()
|
||||
LogError("The Python XPCOM loader could not get the Python sys.path variable\n");
|
||||
return;
|
||||
}
|
||||
NS_LossyConvertUCS2toASCII pathCBuf(pathBuf);
|
||||
NS_LossyConvertUTF16toASCII pathCBuf(pathBuf);
|
||||
LogDebug("The Python XPCOM loader is adding '%s' to sys.path\n", pathCBuf.get());
|
||||
PyObject *newStr = PyString_FromString(pathCBuf.get());
|
||||
PyList_Insert(obPath, 0, newStr);
|
||||
|
||||
Reference in New Issue
Block a user