diff --git a/layout/html/table/src/nsTableFrame.cpp b/layout/html/table/src/nsTableFrame.cpp
index ea5b1c1a7a81..6697ab4c6ba8 100644
--- a/layout/html/table/src/nsTableFrame.cpp
+++ b/layout/html/table/src/nsTableFrame.cpp
@@ -1667,7 +1667,7 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext& aPresContext,
// set aDesiredSize and aMaxElementSize
}
- if (gsDebugNT==PR_TRUE)
+ if (PR_TRUE==gsDebug || PR_TRUE==gsDebugNT)
{
if (nsnull!=aDesiredSize.maxElementSize)
printf("%p: Inner table reflow complete, returning aDesiredSize = %d,%d and aMaxElementSize=%d,%d\n",
diff --git a/layout/html/table/src/nsTableRowFrame.cpp b/layout/html/table/src/nsTableRowFrame.cpp
index 946d4f1c4bf6..07cbf6c9157f 100644
--- a/layout/html/table/src/nsTableRowFrame.cpp
+++ b/layout/html/table/src/nsTableRowFrame.cpp
@@ -222,7 +222,7 @@ void nsTableRowFrame::ResetMaxChildHeight()
void nsTableRowFrame::SetMaxChildHeight(nscoord aChildHeight, nscoord aTopMargin, nscoord aBottomMargin)
{
- if (gsDebug) printf("Row ResetMaxChildHeight to %d\n", aChildHeight);
+ if (gsDebug) printf("Row SetMaxChildHeight to %d\n", aChildHeight);
if (mTallestCell