Commit 6e205e2a authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Для justify не учитываем последнюю строку

Баг http://bugzserver/show_bug.cgi?id=21551

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52078 954022d7-b5bf-4e40-9824-e11837661b57
parent 39b94463
......@@ -917,7 +917,7 @@
}
function computeWordDeltaX() {
if (align !== "justify") {return 0;}
if (align !== "justify" || n === self.lines.length - 1) {return 0;}
for (var i = l.beg, c = 0; i <= l.end; ++i) {
var p = self.charProps[i];
if (p && p.wrd) {++c;}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment