From dc39575fb3ef90e5a2689babe7fb335cd88f6727 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Thu, 5 Feb 2026 21:32:25 +0500 Subject: wip --- src/Fl_Value_Input.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Fl_Value_Input.cxx') diff --git a/src/Fl_Value_Input.cxx b/src/Fl_Value_Input.cxx index c44386662..781d9fcdf 100644 --- a/src/Fl_Value_Input.cxx +++ b/src/Fl_Value_Input.cxx @@ -51,8 +51,9 @@ void Fl_Value_Input::resize(int X, int Y, int W, int H) { } void Fl_Value_Input::value_damage() { - std::string buf = format_str(); - input.value(buf.c_str()); + char buf[129]; + format(buf); + input.value(buf); input.mark(input.insert_position()); // turn off selection highlight } -- cgit v1.2.3