зеркало из https://github.com/mozilla/pjs.git
nsLocalUri2Path fix. If the folder part of the uri is "" don't try to append it to the local path as that adds an unwanted '\' on windows.
This commit is contained in:
Родитель
24f1fa110d
Коммит
8bc671eaee
|
@ -195,7 +195,8 @@ nsLocalURI2Path(const char* rootURI, const char* uriStr,
|
|||
pathResult +=path;
|
||||
#endif
|
||||
|
||||
pathResult += folder;
|
||||
if (folder != "")
|
||||
pathResult += folder;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче