Bug 296394 - Firefox should not complain about -console command line argument. patch from Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>, r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@219062 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -422,6 +422,15 @@ nsNativeAppSupportWin::CheckConsole() {
|
||||
// Failed. Probably because there already is one.
|
||||
// There's little we can do, in any case.
|
||||
}
|
||||
|
||||
// Remove the console argument from the command line.
|
||||
do {
|
||||
gArgv[i] = gArgv[i + 1];
|
||||
++i;
|
||||
} while (gArgv[i]);
|
||||
|
||||
--gArgc;
|
||||
|
||||
// Don't bother doing this more than once.
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user