From 6bb5a81cee7e76e8a4e69f7f49869f39c1c382f0 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 5 Sep 2023 14:45:51 +0200 Subject: Adds some convenience methods. fl_filename_absolute can no generate a path using arbitrary source paths. Fl_Menu_ adds find_item_with_user_data and find_item_with_argument Fl_String adds find(string, start) --- src/Fl_System_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_System_Driver.H') diff --git a/src/Fl_System_Driver.H b/src/Fl_System_Driver.H index 89110b201..e7230f74e 100644 --- a/src/Fl_System_Driver.H +++ b/src/Fl_System_Driver.H @@ -134,7 +134,7 @@ public: // the default implementation of filename_relative() is in src/filename_absolute.cxx and may be enough virtual int filename_relative(char *to, int tolen, const char *from, const char *base); // the default implementation of filename_absolute() is in src/filename_absolute.cxx and may be enough - virtual int filename_absolute(char *to, int tolen, const char *from); + virtual int filename_absolute(char *to, int tolen, const char *from, const char *base); // the default implementation of filename_isdir() is in src/filename_isdir.cxx and may be enough virtual int filename_isdir(const char* n); // the default implementation of filename_isdir_quick() is in src/filename_isdir.cxx and may be enough -- cgit v1.2.3