Fix a problem with tab expansion when filling the offset indices array.
git-svn-id: svn://10.0.0.236/trunk@25740 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -633,7 +633,7 @@ TextFrame::PrepareUnicodeText(nsTextTransformer& aTX,
|
||||
// XXX This is a one to many mapping that I think isn't handled well
|
||||
if (nsnull != aIndexes) {
|
||||
*aIndexes++ = strInx;
|
||||
strInx++;
|
||||
strInx += wordLen;
|
||||
}
|
||||
}
|
||||
else if (0 == wordLen) {
|
||||
|
||||
@@ -633,7 +633,7 @@ TextFrame::PrepareUnicodeText(nsTextTransformer& aTX,
|
||||
// XXX This is a one to many mapping that I think isn't handled well
|
||||
if (nsnull != aIndexes) {
|
||||
*aIndexes++ = strInx;
|
||||
strInx++;
|
||||
strInx += wordLen;
|
||||
}
|
||||
}
|
||||
else if (0 == wordLen) {
|
||||
|
||||
Reference in New Issue
Block a user