diff --git a/layout/forms/nsTextControlFrame.cpp b/layout/forms/nsTextControlFrame.cpp index dae2e071b57..c7328684966 100644 --- a/layout/forms/nsTextControlFrame.cpp +++ b/layout/forms/nsTextControlFrame.cpp @@ -176,7 +176,9 @@ nsTextControlFrame::GetHorizontalInsidePadding(nsIPresContext& aPresContext, } else { padding = (nscoord)(aCharWidth * padTextField); } +#ifdef DEBUG_rods printf("Padding - %d %5.2f %d\n", aCharWidth, padTextField, padding); +#endif nscoord min = NSIntPixelsToTwips(padMinText, aPixToTwip); if (padding > min && (1 == shouldUsePadMinText)) { return padding; diff --git a/layout/html/forms/src/nsTextControlFrame.cpp b/layout/html/forms/src/nsTextControlFrame.cpp index dae2e071b57..c7328684966 100644 --- a/layout/html/forms/src/nsTextControlFrame.cpp +++ b/layout/html/forms/src/nsTextControlFrame.cpp @@ -176,7 +176,9 @@ nsTextControlFrame::GetHorizontalInsidePadding(nsIPresContext& aPresContext, } else { padding = (nscoord)(aCharWidth * padTextField); } +#ifdef DEBUG_rods printf("Padding - %d %5.2f %d\n", aCharWidth, padTextField, padding); +#endif nscoord min = NSIntPixelsToTwips(padMinText, aPixToTwip); if (padding > min && (1 == shouldUsePadMinText)) { return padding;