cappuccino/cappuccino — pull request #1576 by ggsato (2012-06-28 03:09:35+00:00)
Title: fixed needsUntitled evaluation

This is the reduction version of [Pull Request #1555](https://github.com/cappuccino/cappuccino/pull/1555).

Just consider this portion of the existing code. No chance for *needsUntitled* to become false.

``` Objective-J
var needsUntitled = !!_documentController,
URLStrings = window.cpOpeningURLStrings && window.cpOpeningURLStrings(),
index = 0,
count = [URLStrings count];

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

This fix is just to change the operator.

``` Objective-J
needsUntitled = ![self _openURL:[CPURL URLWithString:URLStrings[index]]] && needsUntitled;
```