зеркало из https://github.com/mozilla/pjs.git
Commented out some lines to make it work better.
This commit is contained in:
Родитель
50f9983239
Коммит
11b55d93fc
|
@ -119,11 +119,11 @@ nsCmdLineService::Initialize(int argc, char ** argv)
|
|||
/* This is the last argument and a URL
|
||||
* Append a PR_TRUE for the previous option in the value array
|
||||
*/
|
||||
mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||
mArgCount++;
|
||||
//mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||
//mArgCount++;
|
||||
|
||||
// Append the url to the arrays
|
||||
mArgList.AppendElement((void *)PL_strdup("-url"));
|
||||
//mArgList.AppendElement((void *)PL_strdup("-url"));
|
||||
mArgValueList.AppendElement((void *) PL_strdup(argv[i]));
|
||||
mArgCount++;
|
||||
continue;
|
||||
|
|
|
@ -119,11 +119,11 @@ nsCmdLineService::Initialize(int argc, char ** argv)
|
|||
/* This is the last argument and a URL
|
||||
* Append a PR_TRUE for the previous option in the value array
|
||||
*/
|
||||
mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||
mArgCount++;
|
||||
//mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||
//mArgCount++;
|
||||
|
||||
// Append the url to the arrays
|
||||
mArgList.AppendElement((void *)PL_strdup("-url"));
|
||||
//mArgList.AppendElement((void *)PL_strdup("-url"));
|
||||
mArgValueList.AppendElement((void *) PL_strdup(argv[i]));
|
||||
mArgCount++;
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче