summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorkmu <kmu@jelly.ad.hdfgroup.org>2016-09-27 19:04:19 (GMT)
committerkmu <kmu@jelly.ad.hdfgroup.org>2016-09-27 19:04:19 (GMT)
commitf76c3b56e1ccf81b16225fa6935adb45ac6d2f38 (patch)
treef573cfea11add5b63a1ae46481dcf80f153d7263 /tools/lib/h5tools_str.c
parenta7fb4ede8601e135433ef2d23bf4bbb466d9f58d (diff)
downloadhdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.zip
hdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.tar.gz
hdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.tar.bz2
fix the issue of h5dump fails to print full precision
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index 6d9a041..3b75215 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -803,7 +803,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
long double templdouble;
HDmemcpy(&templdouble, vp, sizeof(long double));
- h5tools_str_append(str, "%Lf", templdouble);
+ h5tools_str_append(str, OPT(info->fmt_double, "%Lf"), templdouble);
#endif
}
break;