mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Correcting a formatting error for scalars when dumping with ncdump -f
This commit is contained in:
parent
3a9c192a83
commit
ffa30d21c2
@ -506,12 +506,12 @@ print_rows(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (formatting_specs.full_data_cmnts) {
|
if (formatting_specs.full_data_cmnts) {
|
||||||
for (j = 0; j < marks_pending; j++) {
|
for (j = 0; j < marks_pending; j++) {
|
||||||
sbuf_cat(sb, RBRACE);
|
sbuf_cat(sb, RBRACE);
|
||||||
}
|
}
|
||||||
printf("%s", sbuf_str(sb));
|
printf("%s", sbuf_str(sb));
|
||||||
lastdelim (0, lastrow);
|
lastdelim (0, lastrow);
|
||||||
annotate (vp, cor, d0-1);
|
annotate (vp, cor, (d0 > 0 ? d0-1 : d0));
|
||||||
} else {
|
} else {
|
||||||
for (j = 0; j < marks_pending; j++) {
|
for (j = 0; j < marks_pending; j++) {
|
||||||
sbuf_cat(sb, RBRACE);
|
sbuf_cat(sb, RBRACE);
|
||||||
|
Loading…
Reference in New Issue
Block a user