bracketed code that broke non-debug builds with #ifdef NS_DEBUG. r=blizzard@redhat.com, a=leaf@mozilla.org.

git-svn-id: svn://10.0.0.236/trunk@55985 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org 1999-12-14 18:54:17 +00:00
parent ecff8ef113
commit 039b0c1d4b

View File

@ -498,10 +498,12 @@ nsWindow::DoPaint (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight,
nsIRegion *aClipRegion)
{
#ifdef NS_DEBUG
if (this == debugWidget) {
g_print("nsWindow::DoPaint %d %d %d %d\n",
aX, aY, aWidth, aHeight);
}
#endif // NS_DEBUG
if (mEventCallback)
{
nsPaintEvent event;