fix the issue of h5dump fails to print full precision

This commit is contained in:
kmu 2016-09-27 14:04:19 -05:00
parent a7fb4ede86
commit f76c3b56e1

View File

@ -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;