Fix to ensure that lines class variable matches number of elements in Line Descriptors vector.
This commit is contained in:
parent
18b477def9
commit
40c69f020c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue