зеркало из https://github.com/mozilla/pjs.git
Attempt to fix the mac build.
This commit is contained in:
Родитель
ebd8183f77
Коммит
a1376209a0
|
@ -556,7 +556,8 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aMaxWidth
|
|||
continue;
|
||||
nscoord spanTotal = 0;
|
||||
nscoord divisor = 0;
|
||||
for (PRInt32 spanX = 0; spanX < colSpan; spanX++) {
|
||||
PRInt32 spanX;
|
||||
for (spanX = 0; spanX < colSpan; spanX++) {
|
||||
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX + spanX);
|
||||
nscoord colWidth = colFrame->GetWidth(widthX);
|
||||
// need to get a contribution for every cell
|
||||
|
|
|
@ -556,7 +556,8 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aMaxWidth
|
|||
continue;
|
||||
nscoord spanTotal = 0;
|
||||
nscoord divisor = 0;
|
||||
for (PRInt32 spanX = 0; spanX < colSpan; spanX++) {
|
||||
PRInt32 spanX;
|
||||
for (spanX = 0; spanX < colSpan; spanX++) {
|
||||
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX + spanX);
|
||||
nscoord colWidth = colFrame->GetWidth(widthX);
|
||||
// need to get a contribution for every cell
|
||||
|
|
Загрузка…
Ссылка в новой задаче