From 6acda521ccaa448eeb26f81a2432da586bed9b30 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 7 Mar 2025 01:15:57 +0100 Subject: Removes the remaining references to Fl_String. Still to do: rename fl_filename... to fl_filename..._str and introduce into core library. --- src/Fl_Terminal.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Terminal.cxx') diff --git a/src/Fl_Terminal.cxx b/src/Fl_Terminal.cxx index 0bf566531..f68668b1e 100644 --- a/src/Fl_Terminal.cxx +++ b/src/Fl_Terminal.cxx @@ -29,13 +29,13 @@ #include // strlen #include // vprintf, va_list #include +#include #include #include #include // fl_utf8len1 #include #include -#include "Fl_String.H" ///////////////////////////////// ////// Static Functions ///////// @@ -3948,7 +3948,7 @@ int Fl_Terminal::handle(int e) { \return A string allocated with strdup(3) which must be free'd, text is UTF-8. */ const char* Fl_Terminal::text(bool lines_below_cursor) const { - Fl_String lines; // lines of text we'll return + std::string lines; // lines of text we'll return // See how many display rows we need to include int disprows = lines_below_cursor ? disp_rows() - 1 // all display lines : cursor_row(); // only lines up to cursor -- cgit v1.2.3