checked for one argument too less

This commit is contained in:
Alexander Miller
2012-04-10 18:59:02 +02:00
parent b17fee56ac
commit 7def49a8ed

View File

@@ -492,7 +492,7 @@
NSString *title = [arguments objectAtIndex:1];
NSString *imageName = nil;
if (arguments.count >= 2)
if (arguments.count > 2)
{
imageName = [arguments objectAtIndex:2];
}