Only output the xif.xif debug file if DEBUG_XIF is defined. Requested by sfraser

This commit is contained in:
akkana%netscape.com 1999-10-29 19:36:30 +00:00
parent 9816376095
commit 0fc341f3a5
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ nsXIFConverter::nsXIFConverter(nsString& aBuffer)
nsXIFConverter::~nsXIFConverter()
{
MOZ_COUNT_DTOR(nsXIFConverter);
#ifdef DEBUG
#ifdef DEBUG_XIF
WriteDebugFile();
#endif
}
@ -491,7 +491,7 @@ void nsXIFConverter::EndCSSDeclaration()
FinishStartTag(nsString("css_declaration"),PR_TRUE);
}
#ifdef DEBUG
#ifdef DEBUG_XIF
//
// Leave a temp file for debugging purposes
//

View File

@ -119,7 +119,7 @@ public:
PRBool IsMarkupEntity(const PRUnichar aChar);
PRBool AddMarkupEntity(const PRUnichar aChar);
#ifdef DEBUG
#ifdef DEBUG_XIF
void WriteDebugFile(); // saves to a temp file
#endif