# HG changeset patch # User John W. Eaton # Date 1654182349 25200 # Node ID b5902106c04379b1b7290c5ae7a730e56adb1016 # Parent 201e29541ef5594c2d8225f2d7068e4dc06d9131 Fix display in Variable Editor when fixed_point_format is on (bug #62544) * pr-flt-fmt.h (class float_display_format): Initialize "m_scale" variable to 1.0. diff -r 201e29541ef5 -r b5902106c043 libinterp/corefcn/pr-flt-fmt.h --- a/libinterp/corefcn/pr-flt-fmt.h Thu Jun 02 14:47:55 2022 +0200 +++ b/libinterp/corefcn/pr-flt-fmt.h Thu Jun 02 08:05:49 2022 -0700 @@ -243,7 +243,7 @@ private: - double m_scale; + double m_scale = 1.0; float_format m_real_fmt;