diff --git a/ChangeLog b/ChangeLog index 4ab4b8c02..ba747b753 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-07-19 Georg Fleischmann + + * gui/Source/GSSimpleLayoutManager.m + [GSSimpleLayoutManager boundingRectForGlyphRange:inTextContainer:]: + no inversion of rect.width (width - rect.size.width) + 2001-07-17 Adam Fedor * Source/NSTableView.m (-addTableColumn:): Remove redundant mallocs. diff --git a/Source/GSSimpleLayoutManager.m b/Source/GSSimpleLayoutManager.m index e329fcfae..2d4e67bce 100644 --- a/Source/GSSimpleLayoutManager.m +++ b/Source/GSSimpleLayoutManager.m @@ -323,7 +323,7 @@ static NSCharacterSet *invSelectionWordGranularitySet; if (![_textStorage length] || ![_lineLayoutInformation count]) { - return NSMakeRect(0, 0, width, 12); + return NSMakeRect(0, 0, 0, 12); } i1 = [self lineLayoutIndexForGlyphIndex: aRange.location]; @@ -339,7 +339,6 @@ static NSCharacterSet *invSelectionWordGranularitySet; rect1 = NSUnionRect(rect1, currentInfo->usedRect); } - rect1.size.width = width - rect1.origin.x; return rect1; }