From 628288dc8a82c03e5f2d2c6d847e2ae8a367356b Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Fri, 6 Dec 2002 04:42:49 +0000 Subject: [PATCH] Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.) git-svn-id: svn://10.0.0.236/trunk@134884 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsStyleSet.cpp | 2 +- mozilla/layout/style/nsStyleSet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/content/base/src/nsStyleSet.cpp b/mozilla/content/base/src/nsStyleSet.cpp index 1404c2d9bd0..6f72041b7ef 100644 --- a/mozilla/content/base/src/nsStyleSet.cpp +++ b/mozilla/content/base/src/nsStyleSet.cpp @@ -940,7 +940,7 @@ NS_IMETHODIMP StyleSetImpl::EnableQuirkStyleSheet(PRBool aEnable) mQuirkStyleSheet->GetApplicable(applicableNow); NS_ASSERTION(count == 0 || aEnable == applicableNow, "enabling/disabling quirk stylesheet too late or incomplete quirk stylesheet"); - if (count != 0 && aEnable == enabledNow) + if (count != 0 && aEnable == applicableNow) printf("WARNING: We set the quirks mode too many times.\n"); // we do! #endif mQuirkStyleSheet->SetEnabled(aEnable); diff --git a/mozilla/layout/style/nsStyleSet.cpp b/mozilla/layout/style/nsStyleSet.cpp index 1404c2d9bd0..6f72041b7ef 100644 --- a/mozilla/layout/style/nsStyleSet.cpp +++ b/mozilla/layout/style/nsStyleSet.cpp @@ -940,7 +940,7 @@ NS_IMETHODIMP StyleSetImpl::EnableQuirkStyleSheet(PRBool aEnable) mQuirkStyleSheet->GetApplicable(applicableNow); NS_ASSERTION(count == 0 || aEnable == applicableNow, "enabling/disabling quirk stylesheet too late or incomplete quirk stylesheet"); - if (count != 0 && aEnable == enabledNow) + if (count != 0 && aEnable == applicableNow) printf("WARNING: We set the quirks mode too many times.\n"); // we do! #endif mQuirkStyleSheet->SetEnabled(aEnable);