OS/2 Tinderbox break
The Windows way was right, not sure why it was made different for OS/2.
This commit is contained in:
@@ -2102,9 +2102,9 @@ NS_IMETHODIMP nsLocalFile::GetURL(char * *aURL)
|
|||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
// Escape the path with the directory mask
|
// Escape the path with the directory mask
|
||||||
nsCAutoString tmp = ePath;
|
nsCAutoString tmp(ePath);
|
||||||
tmp.ReplaceChar(":", '|');
|
tmp.ReplaceChar(":", '|');
|
||||||
nsCAutoString escPath = "file://";
|
nsCAutoString escPath("file://");
|
||||||
escPath += tmp;
|
escPath += tmp;
|
||||||
// rv = nsURLEscape(ePath,nsIIOService::url_Directory + nsIIOService::url_Forced, escPath);
|
// rv = nsURLEscape(ePath,nsIIOService::url_Directory + nsIIOService::url_Forced, escPath);
|
||||||
// if (NS_SUCCEEDED(rv)) {
|
// if (NS_SUCCEEDED(rv)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user