[webkit-changes] cvs commit: WebCore/khtml/rendering bidi.cpp
David
hyatt at opensource.apple.com
Mon Oct 10 00:16:24 PDT 2005
hyatt 05/10/10 00:16:24
Modified: khtml/rendering bidi.cpp
Log:
Bug #:
Revision Changes Path
1.148 +1 -1 WebCore/khtml/rendering/bidi.cpp
Index: bidi.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/rendering/bidi.cpp,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- bidi.cpp 9 Oct 2005 01:46:14 -0000 1.147
+++ bidi.cpp 10 Oct 2005 07:16:23 -0000 1.148
@@ -2209,7 +2209,7 @@
#ifdef DEBUG_LINEBREAKS
kdDebug(6041) << "found space at " << pos << " in string '" << QString( str, strlen ).latin1() << "' adding " << tmpW << " new width = " << w << endl;
#endif
- if ( !isPre && w + tmpW > width && w == 0 ) {
+ if (isNormal && 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