Bug #234804,234976 --> Installers are crashing on launch, trying to install deflenus.xpi

r/sr=darin
This commit is contained in:
scott%scott-macgregor.org 2004-02-26 00:56:11 +00:00
parent c36df61c81
commit d91cbf10ac

View File

@ -80,7 +80,8 @@ hack_nsIFile2URL(nsIFile* file, char * *aURL)
if (NS_FAILED(rv)) return rv;
#if defined(XP_WIN) || defined(XP_OS2)
// Replace \ with / to convert to an url
char* s = (char *) ePath.get();
char* s;
ePath.BeginWriting(s);
while (*s) {
#ifndef XP_OS2
// We need to call IsDBCSLeadByte because