[webkit-changes] cvs commit: WebCore/khtml/rendering bidi.cpp
David
hyatt at opensource.apple.com
Mon Oct 10 00:15:17 PDT 2005
hyatt 05/10/10 00:15:16
Modified: khtml/rendering Tag: Safari-2-0-branch bidi.cpp
Log:
Bug #:
Revision Changes Path
No revision
No revision
1.125.8.8 +1 -1 WebCore/khtml/rendering/bidi.cpp
Index: bidi.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/rendering/bidi.cpp,v
retrieving revision 1.125.8.7
retrieving revision 1.125.8.8
diff -u -r1.125.8.7 -r1.125.8.8
--- bidi.cpp 10 Oct 2005 03:50:22 -0000 1.125.8.7
+++ bidi.cpp 10 Oct 2005 07:15:15 -0000 1.125.8.8
@@ -2129,7 +2129,7 @@
#ifdef DEBUG_LINEBREAKS
kdDebug(6041) << "found space at " << pos << " in string '" << QString( str, strlen ).latin1() << "' adding " << tmpW << " new width = " << w << endl;
#endif
- if (isNormal && w + tmpW > width && w == 0) {
+ if (!isPre && w + tmpW > width && w == 0) {
int fb = nearestFloatBottom(m_height);
int newLineWidth = lineWidth(fb);
// See if |tmpW| will fit on the new line. As long as it does not,
More information about the webkit-changes
mailing list