Fix to ensure that lines class variable matches number of elements in Line Descriptors vector.

This commit is contained in:
markm 2002-03-25 09:33:16 +00:00
parent 18b477def9
commit 40c69f020c

View file

@ -682,6 +682,7 @@ class Paragraph implements PocketWordConstants {
// Line Descriptor info should be eliminated each time
lineDescriptors = new Vector(1, 1);
lines = 0;
for (int i = 0; i < textSegments.size(); i++) {
ParagraphTextSegment pts = (ParagraphTextSegment)textSegments.elementAt(i);