Permalink
Browse files

Merge pull request #301 from tewha/master

Fixed crash when run without parameters
  • Loading branch information...
2 parents 05d4d44 + 162406e commit df9dd09409ecd4783135306751b4dbfcf93a1d34 @tomaz committed Jan 30, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 Application/GBAppledocApplication.m
@@ -512,6 +512,8 @@ - (NSString *)combineBasePath:(NSString *)base withRelativePath:(NSString *)path
- (void)injectXcodeSettingsFromArguments:(NSArray *)arguments {
//check if even deal with a project
+ if([arguments count] < 2)
+ return;
NSString *path = [arguments objectAtIndex:1];
if(![path.pathExtension isEqualToString:@"xcodeproj"])
return;

0 comments on commit df9dd09

Please sign in to comment.