diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-05 15:11:09 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-05 15:11:09 +0200 |
| commit | 2e38007d1f1d6b13ad0ba5303bf58169ffb8da27 (patch) | |
| tree | 830ca1910666e2a14a5d04da8df19ab2428fb014 /fluid/code.h | |
| parent | 6bb5a81cee7e76e8a4e69f7f49869f39c1c382f0 (diff) | |
FLUID: increases readability
- removed some direct filename manipulation
- central place to generate file names and paths
- fixes command line filename override if no actual
batch command is given
Diffstat (limited to 'fluid/code.h')
| -rw-r--r-- | fluid/code.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/code.h b/fluid/code.h index 1b596075c..c327b9f21 100644 --- a/fluid/code.h +++ b/fluid/code.h @@ -18,6 +18,7 @@ #define _FLUID_CODE_H #include <FL/fl_attr.h> +#include <FL/Fl_String.H> #include <stdarg.h> #include <stdio.h> @@ -28,7 +29,7 @@ struct Fd_Text_Tree; struct Fd_Pointer_Tree; int is_id(char c); -int write_strings(const char *sfile); +int write_strings(const Fl_String &filename); class Fd_Code_Writer { |
