From 11b55d93fcba007a6c932725b4226dd33b54caab Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 2 Feb 1999 19:28:52 +0000 Subject: [PATCH] Commented out some lines to make it work better. --- xpfe/appshell/src/nsCommandLineService.cpp | 6 +++--- xpfe/components/startup/src/nsCommandLineService.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xpfe/appshell/src/nsCommandLineService.cpp b/xpfe/appshell/src/nsCommandLineService.cpp index 6975bb49045..2d7179b3b88 100644 --- a/xpfe/appshell/src/nsCommandLineService.cpp +++ b/xpfe/appshell/src/nsCommandLineService.cpp @@ -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; diff --git a/xpfe/components/startup/src/nsCommandLineService.cpp b/xpfe/components/startup/src/nsCommandLineService.cpp index 6975bb49045..2d7179b3b88 100644 --- a/xpfe/components/startup/src/nsCommandLineService.cpp +++ b/xpfe/components/startup/src/nsCommandLineService.cpp @@ -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;