OS/2 Tinderbox break

The Windows way was right, not sure why it was made different for OS/2.
This commit is contained in:
mkaply@us.ibm.com
2000-09-12 12:24:32 +00:00
parent 628a533ecc
commit 3b9daa0768

View File

@@ -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)) {