mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:50:48 +00:00
Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
397660b06d
commit
6988bf34c2
60 changed files with 577 additions and 513 deletions
|
@ -589,13 +589,13 @@
|
|||
}
|
||||
else if (sel_eq(action, @selector(undo:)))
|
||||
{
|
||||
if(_undoManager == nil)
|
||||
if (_undoManager == nil)
|
||||
{
|
||||
result = NO;
|
||||
}
|
||||
else
|
||||
{
|
||||
if([_undoManager canUndo])
|
||||
if ([_undoManager canUndo])
|
||||
{
|
||||
[anItem setTitle: [_undoManager undoMenuItemTitle]];
|
||||
result = YES;
|
||||
|
@ -609,13 +609,13 @@
|
|||
}
|
||||
else if (sel_eq(action, @selector(redo:)))
|
||||
{
|
||||
if(_undoManager == nil)
|
||||
if (_undoManager == nil)
|
||||
{
|
||||
result = NO;
|
||||
}
|
||||
else
|
||||
{
|
||||
if([_undoManager canRedo])
|
||||
if ([_undoManager canRedo])
|
||||
{
|
||||
[anItem setTitle: [_undoManager redoMenuItemTitle]];
|
||||
result = YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue