summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5B.c b/src/H5B.c
index b1463ae..d298bc8 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -2109,15 +2109,19 @@ H5B_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int indent, int f
/* If there is a key debugging routine, use it to display the left & right keys */
if (type->debug_key) {
/* Decode the 'left' key & print it */
+ HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3),
+ "Left Key:");
if(bt->key[i].nkey==NULL)
H5B_decode_key(f, bt, i);
- (type->debug_key)(stream, f, dxpl_id, indent+3, MAX (0, fwidth-3),
+ (type->debug_key)(stream, f, dxpl_id, indent+6, MAX (0, fwidth-6),
bt->key[i].nkey, udata);
/* Decode the 'right' key & print it */
+ HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3),
+ "Right Key:");
if(bt->key[i+1].nkey==NULL)
H5B_decode_key(f, bt, i+1);
- (type->debug_key)(stream, f, dxpl_id, indent+3, MAX (0, fwidth-3),
+ (type->debug_key)(stream, f, dxpl_id, indent+6, MAX (0, fwidth-6),
bt->key[i+1].nkey, udata);
}
}