зеркало из 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
|
/* This is the last argument and a URL
|
||||||
* Append a PR_TRUE for the previous option in the value array
|
* Append a PR_TRUE for the previous option in the value array
|
||||||
*/
|
*/
|
||||||
mArgValueList.AppendElement((void *)PL_strdup("1"));
|
//mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||||
mArgCount++;
|
//mArgCount++;
|
||||||
|
|
||||||
// Append the url to the arrays
|
// 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]));
|
mArgValueList.AppendElement((void *) PL_strdup(argv[i]));
|
||||||
mArgCount++;
|
mArgCount++;
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -119,11 +119,11 @@ nsCmdLineService::Initialize(int argc, char ** argv)
|
||||||
/* This is the last argument and a URL
|
/* This is the last argument and a URL
|
||||||
* Append a PR_TRUE for the previous option in the value array
|
* Append a PR_TRUE for the previous option in the value array
|
||||||
*/
|
*/
|
||||||
mArgValueList.AppendElement((void *)PL_strdup("1"));
|
//mArgValueList.AppendElement((void *)PL_strdup("1"));
|
||||||
mArgCount++;
|
//mArgCount++;
|
||||||
|
|
||||||
// Append the url to the arrays
|
// 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]));
|
mArgValueList.AppendElement((void *) PL_strdup(argv[i]));
|
||||||
mArgCount++;
|
mArgCount++;
|
||||||
continue;
|
continue;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче