bug 736210 - fix bug in nsCaseTransformTextRunFactory surrogate handling. r=smontagu

This commit is contained in:
Jonathan Kew
2012-03-23 17:48:11 +00:00
parent baabd62f51
commit ccac8a33b0

View File

@@ -407,7 +407,7 @@ nsCaseTransformTextRunFactory::RebuildTextRun(nsTransformedTextRun* aTextRun,
convertedString.Append(H_SURROGATE(ch)); convertedString.Append(H_SURROGATE(ch));
convertedString.Append(L_SURROGATE(ch)); convertedString.Append(L_SURROGATE(ch));
i++; i++;
charsToMergeArray.AppendElement(true); charsToMergeArray.AppendElement(false);
styleArray.AppendElement(styles[i]); styleArray.AppendElement(styles[i]);
canBreakBeforeArray.AppendElement(false); canBreakBeforeArray.AppendElement(false);
} }