[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/rendering
From: Charles Samuels <charles () kde ! org>
Date: 2007-08-26 2:05:41
Message-ID: 1188093941.293878.13440.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 704720 by charles:
don't sometimes take text far past the end
of the block's margin on justified text.
I committed a patch which does this exact same thing in 2005 (484974), but
for whatever reason, it seemed to be reproducable again, so here's the "rest"
of it.
M +1 -1 bidi.cpp
--- branches/KDE/3.5/kdelibs/khtml/rendering/bidi.cpp #704719:704720
@@ -2048,7 +2048,7 @@
}
}
- bool canPlaceOnLine = (w + tmpW <= width+1) || !autoWrap;
+ bool canPlaceOnLine = (w + tmpW <= width) || !autoWrap;
if (canPlaceOnLine && checkForBreak) {
w += tmpW;
tmpW = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic