diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-05 14:45:51 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-05 14:45:57 +0200 |
| commit | 6bb5a81cee7e76e8a4e69f7f49869f39c1c382f0 (patch) | |
| tree | 2a6d6f73dd19dd52aaccd1d99b50a20bb53946d6 /src/Fl_System_Driver.H | |
| parent | b2a41e08c3b9b5fbbd0c899537611b8e28e5993d (diff) | |
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)
Diffstat (limited to 'src/Fl_System_Driver.H')
| -rw-r--r-- | src/Fl_System_Driver.H | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
