From f6b8e55cf54d89bf3016d6de4145c6809364f236 Mon Sep 17 00:00:00 2001 From: "aaronleventhal@moonset.net" Date: Fri, 17 Aug 2007 11:21:49 -0700 Subject: [PATCH] Fix debug spew for bz -- just change #ifdef DEBUG to DEBUG_A11Y, not part of release build --- accessible/src/base/nsDocAccessible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/base/nsDocAccessible.cpp b/accessible/src/base/nsDocAccessible.cpp index 774ad515f55a..16f18b364847 100644 --- a/accessible/src/base/nsDocAccessible.cpp +++ b/accessible/src/base/nsDocAccessible.cpp @@ -1511,7 +1511,7 @@ NS_IMETHODIMP nsDocAccessible::FlushPendingEvents() nsCOMPtr accessibleText = do_QueryInterface(accessible); PRInt32 caretOffset; if (accessibleText && NS_SUCCEEDED(accessibleText->GetCaretOffset(&caretOffset))) { -#ifdef DEBUG +#ifdef DEBUG_A11Y PRUnichar chAtOffset; accessibleText->GetCharacterAtOffset(caretOffset, &chAtOffset); printf("\nCaret moved to %d with char %c", caretOffset, chAtOffset);