Commented out some lines to make it work better.

This commit is contained in:
rods%netscape.com 1999-02-02 19:28:52 +00:00
Родитель 50f9983239
Коммит 11b55d93fc
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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;