BKE_reports: only print a single newline after each report
Printing reports was printing 2x newlines afterwards. This caused a blank line to be printed when any operator reported info.
This commit is contained in:
parent
5764173501
commit
9c3eceb8c8
|
@ -320,7 +320,8 @@ void BKE_reports_print(ReportList *reports, eReportType level)
|
|||
return;
|
||||
}
|
||||
|
||||
puts(cstring);
|
||||
/* A trailing newline is already part of `cstring`. */
|
||||
fputs(cstring, stdout);
|
||||
fflush(stdout);
|
||||
MEM_freeN(cstring);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue