Fix bug that incorrectly printed # fileinfo lines for -ppp format.

This commit is contained in:
Dianne Skoll
2020-01-18 14:43:04 -05:00
parent edbc88bd19
commit a586d5cd37

View File

@@ -1576,7 +1576,7 @@ static void WriteSimpleEntries(int col, int jul)
FromJulian(jul, &y, &m, &d);
while(e) {
if (DoPrefixLineNo) {
if (PsCal != PSCAL_LEVEL2) {
if (PsCal != PSCAL_LEVEL2 && PsCal != PSCAL_LEVEL3) {
printf("# fileinfo %d %s\n", e->lineno, e->filename);
}
}