From a4eba82ce81c54124ca1bdaa10c698e0f9610769 Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Mon, 18 Jun 2001 17:31:26 +0000 Subject: [PATCH] Bugzilla Bug 86259 widget/src/xlib/nsAppShell.cpp uses non-standard for init scope r=jrgm, sr=tor, a=asa git-svn-id: svn://10.0.0.236/trunk@97325 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/xlib/nsAppShell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/widget/src/xlib/nsAppShell.cpp b/mozilla/widget/src/xlib/nsAppShell.cpp index f1d01aa43d4..5fd64859592 100644 --- a/mozilla/widget/src/xlib/nsAppShell.cpp +++ b/mozilla/widget/src/xlib/nsAppShell.cpp @@ -291,8 +291,8 @@ NS_METHOD nsAppShell::Create(int* bac, char ** bav) displayName=argv[i+1]; break; } - for (int i = 0; ++i < argc; ) - if (COMPARE_FLAG2 ("sync",argv[i])){ + for (int j = 0; ++j < argc; ) + if (COMPARE_FLAG2 ("sync",argv[j])){ synchronize=true; break; }