ifdef out a debug statement

git-svn-id: svn://10.0.0.236/trunk@49578 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-10-01 14:26:40 +00:00
parent 457fc28670
commit f896ef768d
2 changed files with 4 additions and 0 deletions

View File

@@ -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;