fix comment about the name and location of nsHelperAppDlg.js.in.

git-svn-id: svn://10.0.0.236/trunk@171128 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
steffen.wilberg%web.de
2005-03-23 21:39:36 +00:00
parent 6fef43c971
commit 4a013c4024

View File

@@ -424,9 +424,9 @@ function getTargetFile(aData, aSniffer, aContentType, aIsDocument, aSkipPrompt,
// logic to check for existing files, so we need to do that here.
//
// Note - this code is identical to that in
// browser/components/downloads/content/nsHelperAppDlg.js.
// mozilla/toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in
// If you are updating this code, update that code too! We can't share code
// here since that code is called in a js component.
// here since that code is called in a js component.
while (file.exists()) {
var parts = /.+-(\d+)(\..*)?$/.exec(file.leafName);
if (parts) {