зеркало из https://github.com/mozilla/gecko-dev.git
resort to the lowest common denomenator - don't make special cases for mac
This commit is contained in:
Родитель
f7f65e36cc
Коммит
f9fe45bb3e
|
@ -250,12 +250,7 @@ nsMsgLocalMailFolder::AddDirectorySeparator(nsFileSpec &path)
|
|||
// unfortunately we can't just say:
|
||||
// path += sep;
|
||||
// here because of the way nsFileSpec concatenates
|
||||
#if defined(XP_MAC)
|
||||
nsAutoString str((nsFilePath)path); //ducarroz: please don't cast a nsFilePath to char* on Mac
|
||||
#else
|
||||
const char *chpath = path;
|
||||
nsAutoString str(chpath);
|
||||
#endif
|
||||
nsAutoString str((nsFilePath)path);
|
||||
str += sep;
|
||||
path = str;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче