Fix bug NCF-336, ncdump annotation wrong for last element in each row

This commit is contained in:
Russ Rew 2015-07-13 17:15:51 -06:00
parent f97088412a
commit 8a6fc1a154

View File

@ -503,7 +503,7 @@ print_rows(
}
printf("%s", sbuf_str(sb));
lastdelim (0, lastrow);
annotate (vp, cor, 0L);
annotate (vp, cor, i);
} else {
for (j = 0; j < marks_pending; j++) {
sbuf_cat(sb, "}");