зеркало из https://github.com/mozilla/pjs.git
Fix crash on loading files with no extension. Followup to bug 235502, patch by
biesi, r+sr=darin
This commit is contained in:
Родитель
b6f34fe5ce
Коммит
dd7363b6e0
|
@ -2454,7 +2454,7 @@ NS_IMETHODIMP nsExternalHelperAppService::GetTypeFromFile(nsIFile* aFile, nsACSt
|
|||
}
|
||||
}
|
||||
|
||||
nsDependentCString fileExt( ext );
|
||||
nsDependentCString fileExt(ext ? ext : "");
|
||||
// Handle the mac case
|
||||
#if defined(XP_MAC) || defined (XP_MACOSX)
|
||||
nsCOMPtr<nsILocalFileMac> macFile;
|
||||
|
|
Загрузка…
Ссылка в новой задаче