Bug 364042: first startup profile migration is broken, r=mano

git-svn-id: svn://10.0.0.236/trunk@217047 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2006-12-16 14:27:58 +00:00
parent 30cb571fb8
commit f9ef193f2b

View File

@@ -191,6 +191,9 @@ nsProfileMigrator::GetDefaultBrowserMigratorKey(nsACString& aKey,
if (len == -1)
return NS_ERROR_FAILURE;
// Move past ".exe"
len += 4;
PRUint32 start = 0;
// skip an opening quotation mark if present
if (value.get()[1] != ':') {