Bug 413198 - "Make layout.css.report_errors apply to debug build text terminal (stderr)" [p=matt@nightrealms.com (Matthew Cline) r+sr=dbaron a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243724 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
387b7648dd
commit
606be5a7ee
@ -317,9 +317,10 @@ void nsCSSScanner::OutputError()
|
||||
if (mError.IsEmpty()) return;
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "CSS Error (%s :%u.%u): %s\n",
|
||||
mFileName.get(), mErrorLineNumber, mErrorColNumber,
|
||||
NS_ConvertUTF16toUTF8(mError).get());
|
||||
if (gReportErrors)
|
||||
fprintf(stderr, "CSS Error (%s :%u.%u): %s\n",
|
||||
mFileName.get(), mErrorLineNumber, mErrorColNumber,
|
||||
NS_ConvertUTF16toUTF8(mError).get());
|
||||
#endif
|
||||
|
||||
// Log it to the Error console
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user