Correcting a formatting error for scalars when dumping with ncdump -f
@@ -511,7 +511,7 @@ print_rows(
}
printf("%s", sbuf_str(sb));
lastdelim (0, lastrow);
- annotate (vp, cor, d0-1);
+ annotate (vp, cor, (d0 > 0 ? d0-1 : d0));
} else {
for (j = 0; j < marks_pending; j++) {
sbuf_cat(sb, RBRACE);
