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:
sfraser%netscape.com
1999-03-31 20:12:42 +00:00
parent 8e5c811e35
commit 54301e754c
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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) {