Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Commit ef7d249

Browse files
committed
Merge branch 'bugfix-10878' into release-6.0.2
2 parents 411d9c8 + be731f7 commit ef7d249

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

engine/src/paragraf.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,9 @@ void MCParagraph::draw(MCDC *dc, int2 x, int2 y, uint2 fixeda,
10851085

10861086
// MW-2012-02-10: [[ FixedTable ]] If we have reached the final tab in fixed
10871087
// table mode, we are done.
1088-
if (ct == nt - 2 && t[nt - 2] == t[nt - 1])
1088+
// MW-2013-05-20: [[ Bug 10878 ]] Tweaked conditions to work for min two tabStops
1089+
// rather than 3.
1090+
if (ct >= nt - 2 && t[nt - 2] == t[nt - 1])
10891091
break;
10901092
}
10911093
}

0 commit comments

Comments
 (0)