зеркало из https://github.com/mozilla/pjs.git
fixing bug 42604 - Windows shortcuts shouldn't be created with comments on Win2000. r=curt,syd sr=dveditz
This commit is contained in:
Родитель
63f0d79833
Коммит
0564caa4c3
|
@ -59,7 +59,12 @@ HRESULT CreateALink(LPCSTR lpszPathObj, LPCSTR lpszPathLink, LPCSTR lpszDesc, LP
|
|||
// Set the path to the shortcut target, and add the
|
||||
// description.
|
||||
psl->SetPath(lpszPathObj);
|
||||
psl->SetDescription(lpszDesc);
|
||||
|
||||
// Do not set the description at this time. We need to fix this
|
||||
// parameter so it can be passed in independent of the shortcut name
|
||||
// itself. Comment this code out for now until a real fix can be done.
|
||||
// psl->SetDescription(lpszDesc);
|
||||
|
||||
if(lpszWorkingPath)
|
||||
psl->SetWorkingDirectory(lpszWorkingPath);
|
||||
if(lpszArgs)
|
||||
|
|
|
@ -59,7 +59,12 @@ HRESULT CreateALink(LPSTR lpszPathObj, LPSTR lpszPathLink, LPSTR lpszDesc, LPSTR
|
|||
// Set the path to the shortcut target, and add the
|
||||
// description.
|
||||
psl->SetPath(lpszPathObj);
|
||||
psl->SetDescription(lpszDesc);
|
||||
|
||||
// Do not set the description at this time. We need to fix this
|
||||
// parameter so it can be passed in independent of the shortcut name
|
||||
// itself. Comment this code out for now until a real fix can be done.
|
||||
// psl->SetDescription(lpszDesc);
|
||||
|
||||
if(lpszWorkingPath)
|
||||
psl->SetWorkingDirectory(lpszWorkingPath);
|
||||
if(lpszArgs)
|
||||
|
|
Загрузка…
Ссылка в новой задаче