зеркало из https://github.com/mozilla/pjs.git
fix fallout of commandline change for xulrunner, bug 276588, __args to gArgs, r=bsmedberg
This commit is contained in:
Родитель
4fb5a0419c
Коммит
ca9998df2b
|
@ -334,10 +334,10 @@ NS_IMPL_RELEASE_INHERITED(nsNativeAppSupportWin, nsNativeAppSupportBase)
|
||||||
|
|
||||||
void
|
void
|
||||||
nsNativeAppSupportWin::CheckConsole() {
|
nsNativeAppSupportWin::CheckConsole() {
|
||||||
for ( int i = 1; i < __argc; i++ ) {
|
for ( int i = 1; i < gArgc; i++ ) {
|
||||||
if ( strcmp( "-console", __argv[i] ) == 0
|
if ( strcmp( "-console", gArgv[i] ) == 0
|
||||||
||
|
||
|
||||||
strcmp( "/console", __argv[i] ) == 0 ) {
|
strcmp( "/console", gArgv[i] ) == 0 ) {
|
||||||
// Users wants to make sure we have a console.
|
// Users wants to make sure we have a console.
|
||||||
// Try to allocate one.
|
// Try to allocate one.
|
||||||
BOOL rc = ::AllocConsole();
|
BOOL rc = ::AllocConsole();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче