mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Remove break whose use depends on ENTER_POOL/LEAVE_POOL behavior
This commit is contained in:
parent
ba5b950fa5
commit
01e2011d6c
1 changed files with 17 additions and 15 deletions
|
@ -1078,28 +1078,30 @@ static NSString *mainFont = nil;
|
|||
}
|
||||
else if ([name isEqual: @"gsdoc"] == YES)
|
||||
{
|
||||
NSString *stylesheetURL = [prop objectForKey: @"stylesheeturl"];
|
||||
|
||||
base = [prop objectForKey: @"base"];
|
||||
if (base == nil)
|
||||
{
|
||||
NSLog(@"No 'base' document name supplied in gsdoc element");
|
||||
break;
|
||||
}
|
||||
nextFile = [prop objectForKey: @"next"];
|
||||
nextFile = [nextFile stringByAppendingPathExtension: @"html"];
|
||||
prevFile = [prop objectForKey: @"prev"];
|
||||
prevFile = [prevFile stringByAppendingPathExtension: @"html"];
|
||||
upFile = [prop objectForKey: @"up"];
|
||||
upFile = [upFile stringByAppendingPathExtension: @"html"];
|
||||
else
|
||||
{
|
||||
NSString *stylesheetURL = [prop objectForKey: @"stylesheeturl"];
|
||||
|
||||
// special formatting for table-of-contents frames; ultimately
|
||||
// this should be moved to stylesheet
|
||||
isContentsDoc = ((stylesheetURL != nil) &&
|
||||
([stylesheetURL rangeOfString: @"gsdoc_contents"].length > 0)) ?
|
||||
YES : NO;
|
||||
nextFile = [prop objectForKey: @"next"];
|
||||
nextFile = [nextFile stringByAppendingPathExtension: @"html"];
|
||||
prevFile = [prop objectForKey: @"prev"];
|
||||
prevFile = [prevFile stringByAppendingPathExtension: @"html"];
|
||||
upFile = [prop objectForKey: @"up"];
|
||||
upFile = [upFile stringByAppendingPathExtension: @"html"];
|
||||
|
||||
[self outputNodeList: children to: buf];
|
||||
// special formatting for table-of-contents frames; ultimately
|
||||
// this should be moved to stylesheet
|
||||
isContentsDoc = ((stylesheetURL != nil) &&
|
||||
([stylesheetURL rangeOfString: @"gsdoc_contents"].length > 0))
|
||||
? YES : NO;
|
||||
|
||||
[self outputNodeList: children to: buf];
|
||||
}
|
||||
}
|
||||
else if ([name isEqual: @"head"] == YES)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue