diff --git a/mozilla/xpfe/bootstrap/nsAppRunner.cpp b/mozilla/xpfe/bootstrap/nsAppRunner.cpp index 4c6801def58..e1f0ab27f2a 100644 --- a/mozilla/xpfe/bootstrap/nsAppRunner.cpp +++ b/mozilla/xpfe/bootstrap/nsAppRunner.cpp @@ -811,26 +811,27 @@ int main(int argc, char* argv[]) #endif nsresult rv; + int i=0; - /* -help and -version should return quick */ - if (argc == 2) { - if ((PL_strcasecmp(argv[1], "-h") == 0) || (PL_strcasecmp(argv[1], "-help") == 0) + /* Handle -help and -version command line arguments. They should return quick, so we deal with them here */ + for (i=1; i