зеркало из https://github.com/mozilla/pjs.git
Minor fix in operator=
This commit is contained in:
Родитель
ff9067d823
Коммит
8f41797878
|
@ -32,7 +32,7 @@ void nsNativeFileSpec::operator = (const nsFilePath& inPath)
|
|||
//----------------------------------------------------------------------------------------
|
||||
{
|
||||
// Convert '/' to '\'
|
||||
nsFileSpecHelpers::StringAssign(mPath, (const char*)mPath);
|
||||
nsFileSpecHelpers::StringAssign(mPath, (const char*)inPath);
|
||||
for (char* cp = mPath; *cp; cp++)
|
||||
{
|
||||
if (*cp == '/')
|
||||
|
|
|
@ -32,7 +32,7 @@ void nsNativeFileSpec::operator = (const nsFilePath& inPath)
|
|||
//----------------------------------------------------------------------------------------
|
||||
{
|
||||
// Convert '/' to '\'
|
||||
nsFileSpecHelpers::StringAssign(mPath, (const char*)mPath);
|
||||
nsFileSpecHelpers::StringAssign(mPath, (const char*)inPath);
|
||||
for (char* cp = mPath; *cp; cp++)
|
||||
{
|
||||
if (*cp == '/')
|
||||
|
|
Загрузка…
Ссылка в новой задаче