From 9f06c8ee5ab49b595b5492fc89625fdd9dbd474c Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Wed, 16 Feb 2000 12:50:11 -0500 Subject: [svn-r1966] removed some commented code. --- tools/h5tools.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/h5tools.c b/tools/h5tools.c index 46806bb..0f55fa4 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -1052,9 +1052,7 @@ h5dump_simple_prefix(FILE *stream, const h5dump_t *info, /* Terminate previous line, if any */ if (ctx->cur_column) { fputs(OPT(info->line_suf, ""), stream); - if (info->line_ncols != ctx->cur_column) { - putc('\n', stream); - } + putc('\n',stream); fputs(OPT(info->line_sep, ""), stream); } @@ -1167,7 +1165,7 @@ h5dump_simple_data(FILE *stream, const h5dump_t *info, hid_t container, if (1==info->line_multi_new && (ctx->cur_column + h5dump_ncols(s) + strlen(OPT(info->elmt_suf2, " ")) + - strlen(OPT(info->line_suf, ""))) >= ncols) { + strlen(OPT(info->line_suf, ""))) > ncols) { if (ctx->prev_multiline) { /* * ... and the previous element also occupied more than one -- cgit v0.12