Bug 374580. Fix embarrassing RTL regression on Mac. r=pavlov

This commit is contained in:
roc+%cs.cmu.edu 2007-03-20 08:50:43 +00:00
Родитель 6b345f1701
Коммит 08c2da68e4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -665,7 +665,7 @@ PostLayoutCallback(ATSULineRef aLine, gfxTextRun *aRun,
// Now process the rest of the glyphs, which should basically be in
// the textrun's desired order, so process them in textrun order
PRInt32 direction = PRUint32(aRun->GetDirection());
PRInt32 direction = PRInt32(aRun->GetDirection());
while (numGlyphs > 0) {
PRUint32 glyphIndex = isRTL ? numGlyphs - 1 : 0;
PRUint32 lastOffset = glyphRecords[glyphIndex].originalOffset;