forked from mirrors/gecko-dev
		
	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
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -410,14 +410,14 @@ char* nsInstallFileOpItem::toString()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    case NS_FOP_WIN_SHORTCUT:
 | 
					    case NS_FOP_WIN_SHORTCUT:
 | 
				
			||||||
      rsrcVal = mInstall->GetResourcedString(NS_LITERAL_STRING("WindowsShortcut"));
 | 
					      rsrcVal = mInstall->GetResourcedString(NS_LITERAL_STRING("WindowsShortcut"));
 | 
				
			||||||
      if(rsrcVal != nsnull)
 | 
					      if(rsrcVal && mShortcutPath)
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        mShortcutPath->GetPath(&temp);
 | 
					        mShortcutPath->GetPath(&temp);
 | 
				
			||||||
        result.AssignWithConversion(temp);
 | 
					        result.AssignWithConversion(temp);
 | 
				
			||||||
        result.AppendWithConversion("\\");
 | 
					        result.AppendWithConversion("\\");
 | 
				
			||||||
        result.Append(*mDescription);
 | 
					        result.Append(*mDescription);
 | 
				
			||||||
        dstPath = ToNewCString(result);
 | 
					        dstPath = ToNewCString(result);
 | 
				
			||||||
        if(dstPath != nsnull)
 | 
					        if(dstPath)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          PR_snprintf(resultCString, RESBUFSIZE, rsrcVal, dstPath );
 | 
					          PR_snprintf(resultCString, RESBUFSIZE, rsrcVal, dstPath );
 | 
				
			||||||
          Recycle(dstPath);
 | 
					          Recycle(dstPath);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue