Hi Georg,
thanks - I applied your fixes.
I changed the last one from -
+ if ([_lineLayoutInformation count] aRange.location+aRange.length)
+ return;
into
+ if ([_lineLayoutInformation count] == 0)
+ {
+ return;
+ }
I don't have a testcase of what you were trying to fix,
Hi,
here are some small fixes for GSSimpleLayoutManager which check the array
count of _lineLayoutInformation before accessing the array.
The modifications allow (for example) a text box of zero size without getting
an exception.
Georg
2002-05-17 Georg Fleischmann
*
On Thursday, July 19, 2001, at 09:42 PM, Georg Fleischmann wrote:
Hi,
here is a fix for [GSSimpleLayoutManager
boundingRectForGlyphRange:inTextContainer:].
Thanks .. I committed that.
___
Bug-gnustep mailing list
[EMAIL PROTECTED]