mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
OPENSTEP compatibility update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3732 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0ea7c2794
commit
cf830b8635
8 changed files with 24 additions and 13 deletions
|
@ -46,13 +46,13 @@ main(int argc, char** argv)
|
|||
|
||||
args = [proc arguments];
|
||||
|
||||
if ([args count] == 0)
|
||||
if ([args count] <= 1)
|
||||
{
|
||||
NSLog(@"No file names given to parse.");
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < [args count]; i++)
|
||||
for (i = 1; i < [args count]; i++)
|
||||
{
|
||||
NSString *file = [args objectAtIndex: i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue