git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8834 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-01-27 12:53:19 +00:00
parent d329613085
commit 1c98e6fb81

View file

@ -145,7 +145,9 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
- (void) drawWellInside: (NSRect)insideRect - (void) drawWellInside: (NSRect)insideRect
{ {
if (NSIsEmptyRect(insideRect)) if (NSIsEmptyRect(insideRect))
{
return; return;
}
[_the_color drawSwatchInRect: insideRect]; [_the_color drawSwatchInRect: insideRect];
} }
@ -238,8 +240,10 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
- (void) takeColorFrom: (id)sender - (void) takeColorFrom: (id)sender
{ {
if ([sender respondsToSelector: @selector(color)]) if ([sender respondsToSelector: @selector(color)])
{
ASSIGN(_the_color, [sender color]); ASSIGN(_the_color, [sender color]);
} }
}
// //
// Managing Borders // Managing Borders