This commit is contained in:
hyatt%netscape.com 2001-08-15 22:28:32 +00:00
Родитель 3f88a6807a
Коммит 1b0c245a47
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -176,7 +176,7 @@ nsOutlinerColumn::nsOutlinerColumn(nsIContent* aColElement, nsIFrame* aFrame)
const nsStyleVisibility* vis =
(const nsStyleVisibility*)styleContext->GetStyleData(eStyleStruct_Visibility);
if (vis->mDirection == NS_STYLE_DIRECTION_RTL)
mCropStyle = mCropStyle - 2; // Right becomes left, left becomes right.
mCropStyle = 2 - mCropStyle; // Right becomes left, left becomes right.
}
// Cache our text alignment policy.

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

@ -176,7 +176,7 @@ nsOutlinerColumn::nsOutlinerColumn(nsIContent* aColElement, nsIFrame* aFrame)
const nsStyleVisibility* vis =
(const nsStyleVisibility*)styleContext->GetStyleData(eStyleStruct_Visibility);
if (vis->mDirection == NS_STYLE_DIRECTION_RTL)
mCropStyle = mCropStyle - 2; // Right becomes left, left becomes right.
mCropStyle = 2 - mCropStyle; // Right becomes left, left becomes right.
}
// Cache our text alignment policy.