mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:40:47 +00:00
Minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3737 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d4a996dd2
commit
2199bd736c
3 changed files with 37 additions and 23 deletions
|
@ -1192,12 +1192,18 @@ typedef enum
|
|||
}
|
||||
|
||||
|
||||
-(void) redisplayForLineRange:(NSRange) redrawLineRange
|
||||
{ BOOL didLock=NO;
|
||||
-(void) redisplayForLineRange: (NSRange)redrawLineRange
|
||||
{
|
||||
BOOL didLock = NO;
|
||||
|
||||
if([self window] && [[self class] focusView] != self)
|
||||
{ [self lockFocus]; didLock=YES;
|
||||
}
|
||||
if ([self window] == nil)
|
||||
return;
|
||||
|
||||
if ([[self class] focusView] != self)
|
||||
{
|
||||
[self lockFocus];
|
||||
didLock = YES;
|
||||
}
|
||||
|
||||
if([lineLayoutInformation count] && redrawLineRange.location < [lineLayoutInformation count] && redrawLineRange.length)
|
||||
{ _GNULineLayoutInfo *firstInfo=[lineLayoutInformation objectAtIndex:redrawLineRange.location];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue