summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index 056838e..3350f51 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -927,9 +927,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container,
/*need to indent some more here*/
if (ctx->indent_level >= 0 )
{
- if (info->pindex)
- h5tools_str_append(str, "%s", " ");
- else
+ if (!info->pindex)
h5tools_str_append(str, "%s", OPT(info->line_pre, ""));
}