summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-05-30 16:48:15 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-05-30 16:48:15 (GMT)
commitf7edcdc98fb9252c1b39e5157b0c6e8b71ba23d6 (patch)
treece7924bee942a3de775bace3c16adda2a503c1eb
parent192cf585d03e6b2b191240da34234b04ea2aee81 (diff)
downloadhdf5-f7edcdc98fb9252c1b39e5157b0c6e8b71ba23d6.zip
hdf5-f7edcdc98fb9252c1b39e5157b0c6e8b71ba23d6.tar.gz
hdf5-f7edcdc98fb9252c1b39e5157b0c6e8b71ba23d6.tar.bz2
[svn-r2302] fixed the output of the nested compound types so the closing curly brace is
aligned with the opening brace.
-rw-r--r--tools/h5tools.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 828bd23..0af02ac 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -909,8 +909,10 @@ h5dump_sprint(h5dump_str_t *str/*in,out*/, const h5dump_t *info,
h5dump_str_append(str,"%s",OPT(info->line_indent,""));
}
}
- h5dump_sprint(str, info, container, memb,
+ ctx->indent_level++;
+ h5dump_sprint(str, info, container, memb,
(char*)vp+offset+i*size, ctx);
+ ctx->indent_level--;
}
if (nelmts>1) {
h5dump_str_append(str, "%s", OPT(info->arr_suf, "]"));