From f45b3441d38898a03599b2ed34027961005ec033 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Mon, 18 Dec 2006 22:35:01 +0000 Subject: [PATCH] Fix shadowing variable name. No bug. --- layout/tables/BasicTableLayoutStrategy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/tables/BasicTableLayoutStrategy.cpp b/layout/tables/BasicTableLayoutStrategy.cpp index 2db7a8178a3..ce2d6e19c30 100644 --- a/layout/tables/BasicTableLayoutStrategy.cpp +++ b/layout/tables/BasicTableLayoutStrategy.cpp @@ -729,9 +729,9 @@ BasicTableLayoutStrategy::ComputeColumnWidths(const nsHTMLReflowState& aReflowSt float pct = colFrame->GetPrefPercent(); if (pct != 0.0f) { col_width = nscoord(float(width) * pct); - nscoord min = colFrame->GetMinCoord(); - if (col_width < min) - col_width = min; + nscoord col_min = colFrame->GetMinCoord(); + if (col_width < col_min) + col_width = col_min; } else { col_width = colFrame->GetPrefCoord(); }