зеркало из https://github.com/mozilla/pjs.git
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]
This commit is contained in:
Родитель
8f8c257d2c
Коммит
7ddab2e12b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче