Changeset 20574 in webkit
- Timestamp:
- Mar 29, 2007, 10:05:28 AM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r20570 r20574 1 2007-03-29 Adam Treat <adam@staikos.net> 2 3 Reviewed by David Hyatt, committed by George Staikos. 4 5 Take into account the entire run length to get a proper selection. 6 Doesn't seem to affect the Mac build but is a problem for Qt. 7 8 * platform/Font.cpp: 9 (WebCore::WidthIterator::WidthIterator): 10 1 11 2007-03-29 David Hyatt <hyatt@apple.com> 2 12 -
trunk/WebCore/platform/Font.cpp
r20508 r20574 102 102 else { 103 103 float numSpaces = 0; 104 for (int i = run.from(); i < m_end; i++)104 for (int i = 0; i < run.length(); i++) 105 105 if (Font::treatAsSpace(m_run[i])) 106 106 numSpaces++;
Note:
See TracChangeset
for help on using the changeset viewer.