Skip to content

Commit

Permalink
Fix for a broken exception raise in CPToolbar.
Browse files Browse the repository at this point in the history
THanks terhorst for reporting the issue.

[cappuccino#102 state:resolved];
  • Loading branch information
Ross Boucher committed Oct 20, 2008
1 parent dd56b75 commit c6a2d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPToolbar.j
Expand Up @@ -265,7 +265,7 @@ var _CPToolbarItemVisibilityPriorityCompare = function(lhs, rhs)

if (item == nil)
[CPException raise:CPInvalidArgumentException
format:@"_delegate %@ returned nil toolbar item returned for identifier %@", _delegate, identifier];
reason:sprintf(@"_delegate %s returned nil toolbar item returned for identifier %s", _delegate, identifier)];

[_items addObject:item];
}
Expand Down

0 comments on commit c6a2d55

Please sign in to comment.