summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-16 17:50:11 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-16 17:50:11 (GMT)
commit9f06c8ee5ab49b595b5492fc89625fdd9dbd474c (patch)
treedfc2f9138783b94c0e3d7307e0440627fc031824
parent75434fcf45f2268a536070f0c9150a37eb98fd99 (diff)
downloadhdf5-9f06c8ee5ab49b595b5492fc89625fdd9dbd474c.zip
hdf5-9f06c8ee5ab49b595b5492fc89625fdd9dbd474c.tar.gz
hdf5-9f06c8ee5ab49b595b5492fc89625fdd9dbd474c.tar.bz2
[svn-r1966]
removed some commented code.
-rw-r--r--tools/h5tools.c6
1 files 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