[Lazarus] TWidgetSet.GetTextExtentExPoint

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Nov 26 14:00:53 CET 2011


The loop in this method is a bit weird. When the best fit is found, the 
loop continues but does nothing. IMO it should break instead, or fill 
the remaining array elements with defined values.

When both MaxCount and PartialWidths are Nil, the loop must not even be 
entered.

DoDi




More information about the Lazarus mailing list