mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fixing blocker bug 108530 - Setup.exe error on install, mozilla launches with full screen empty page
This commit is contained in:
parent
4a8b2ae277
commit
1272590f7a
@ -410,14 +410,14 @@ char* nsInstallFileOpItem::toString()
|
||||
|
||||
case NS_FOP_WIN_SHORTCUT:
|
||||
rsrcVal = mInstall->GetResourcedString(NS_LITERAL_STRING("WindowsShortcut"));
|
||||
if(rsrcVal != nsnull)
|
||||
if(rsrcVal && mShortcutPath)
|
||||
{
|
||||
mShortcutPath->GetPath(&temp);
|
||||
result.AssignWithConversion(temp);
|
||||
result.AppendWithConversion("\\");
|
||||
result.Append(*mDescription);
|
||||
dstPath = ToNewCString(result);
|
||||
if(dstPath != nsnull)
|
||||
if(dstPath)
|
||||
{
|
||||
PR_snprintf(resultCString, RESBUFSIZE, rsrcVal, dstPath );
|
||||
Recycle(dstPath);
|
||||
|
Loading…
Reference in New Issue
Block a user