mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-13 02:08:55 +00:00
Fix a bool that's supposed to be an int in CPUndoManager -groupingLevel.
This commit is contained in:
1 parent
0c4ce1e756
commit
d59d141302
1 file changed
+1
-1
@@ -526,7 +526,7 @@ if (_currentGroup == nil)
|
||||
- (unsigned)groupingLevel
|
||||
{
|
||||
var grouping = _currentGrouping,
|
||||
level = _currentGrouping != nil;
|
||||
level = _currentGrouping ? 1 : 0;
|
||||
|
||||
while (grouping = [grouping parent])
|
||||
++level;
|
||||
|
||||
Reference in new issue
Block a user