From 02a1b27572c6eaf0e343b7bffcf7d8be2970c095 Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Sun, 22 Aug 1999 02:36:00 +0000 Subject: [PATCH] changed initial value in ColumnsAreValidFor. git-svn-id: svn://10.0.0.236/trunk@44036 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp | 2 +- mozilla/layout/tables/BasicTableLayoutStrategy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp index 56bca2f5af8..7c56db5b264 100644 --- a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp @@ -1384,7 +1384,7 @@ PRBool BasicTableLayoutStrategy::ColumnsAreValidFor(const nsTableCellFrame& aCel return PR_FALSE; // XXX add cases where table has coord width and cell is constrained } - PRBool desChanged = PR_FALSE; + PRBool desChanged = PR_TRUE; if (((cellDes > aPrevCellDes) && (cellDes <= colDes)) || ((cellDes <= aPrevCellDes) && (aPrevCellDes <= colDes))) { desChanged = PR_FALSE; diff --git a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp index 56bca2f5af8..7c56db5b264 100644 --- a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp @@ -1384,7 +1384,7 @@ PRBool BasicTableLayoutStrategy::ColumnsAreValidFor(const nsTableCellFrame& aCel return PR_FALSE; // XXX add cases where table has coord width and cell is constrained } - PRBool desChanged = PR_FALSE; + PRBool desChanged = PR_TRUE; if (((cellDes > aPrevCellDes) && (cellDes <= colDes)) || ((cellDes <= aPrevCellDes) && (aPrevCellDes <= colDes))) { desChanged = PR_FALSE;