Skip to content

Commit

Permalink
fixed needsUntitled evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
ggsato committed Jun 28, 2012
1 parent c52315c commit db47d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPApplication.j
Expand Up @@ -254,7 +254,7 @@ CPRunContinuesResponse = -1002;
count = [URLStrings count];

for (; index < count; ++index)
needsUntitled = ![self _openURL:[CPURL URLWithString:URLStrings[index]]] || needsUntitled;
needsUntitled = ![self _openURL:[CPURL URLWithString:URLStrings[index]]] && needsUntitled;

if (needsUntitled && [_delegate respondsToSelector:@selector(applicationShouldOpenUntitledFile:)])
needsUntitled = [_delegate applicationShouldOpenUntitledFile:self];
Expand Down

0 comments on commit db47d8f

Please sign in to comment.