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