2021-08-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlibrary(1) that caused misaligned
	columns when generating a Cut Report.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-15 13:55:19 -04:00
parent d9925e0ee8
commit fcb3ad7b27
12 changed files with 62 additions and 37 deletions

View File

@@ -209,7 +209,7 @@ void ListReports::GenerateLogReport(QString *report)
*report+=" ";
}
if(!logline->startTime(RDLogLine::Imported).isNull()) {
*report+=RDReport::leftJustify(rda->tenthsTimeString(logline->startTime(RDLogLine::Logged),true),13)+" ";
*report+=RDReport::leftJustify(rda->tenthsTimeString(logline->startTime(RDLogLine::Logged),"0"),13)+" ";
}
else {
*report+=" ";
@@ -235,7 +235,7 @@ void ListReports::GenerateLogReport(QString *report)
*report+=" ";
*report+=" ";
*report+=" :00 ";
*report+=RDReport::leftJustify(logline->markerComment(),30)+" ";
*report+=RDReport::leftJustify(logline->markerComment(),33)+" ";
*report+=" ";
break;
@@ -260,7 +260,8 @@ void ListReports::GenerateLogReport(QString *report)
*report+=" ";
*report+=" ";
*report+=" ";
*report+=RDReport::leftJustify(logline->markerLabel(),30)+" ";
*report+=RDReport::leftJustify(logline->markerLabel(),33)+" ";
*report+=" ";
break;
case RDLogLine::OpenBracket: