fixed needsUntitled evaluation

This commit is contained in:
ggsato committed 2012-06-28 12:01:37 +09:00
1 parent c52315cd8d
commit db47d8fb85
1 file changed
+1 -1
+1 -1
View File
@@ -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];