mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
38e49853d5
commit
b24794ed3c
2 changed files with 9 additions and 3 deletions
|
@ -181,7 +181,8 @@
|
|||
drawingRect.origin.x += width;
|
||||
}
|
||||
}
|
||||
-(void)mouseDown: (NSEvent*)event
|
||||
|
||||
- (void) mouseDown: (NSEvent*)event
|
||||
{
|
||||
NSPoint location = [event locationInWindow];
|
||||
int clickCount;
|
||||
|
|
|
@ -3034,9 +3034,14 @@ other than copy/paste or dragging. */
|
|||
NSString *type;
|
||||
|
||||
if (types == nil)
|
||||
return NO;
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
if (_selected_range.location == NSNotFound)
|
||||
return NO;
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
[pboard declareTypes: types owner: self];
|
||||
|
||||
|
|
Loading…
Reference in a new issue