summaryrefslogtreecommitdiff
path: root/fluid/sourceview_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-08-29 02:27:13 +0200
committerMatthias Melcher <github@matthiasm.com>2023-08-29 02:27:13 +0200
commitb92c8ed6ffcc0a9af4047c32eb0a3d1eed340f34 (patch)
tree9057bf5d50fde90f3aba20ce8baa555dda8ea3e1 /fluid/sourceview_panel.fl
parent814d642e5da5e1be5dbfb609f43b25313487aa11 (diff)
FLUID: adds missing include for other platforms
Diffstat (limited to 'fluid/sourceview_panel.fl')
-rw-r--r--fluid/sourceview_panel.fl9
1 files changed, 6 insertions, 3 deletions
diff --git a/fluid/sourceview_panel.fl b/fluid/sourceview_panel.fl
index 7842983c6..37c38d2fb 100644
--- a/fluid/sourceview_panel.fl
+++ b/fluid/sourceview_panel.fl
@@ -31,6 +31,9 @@ decl {\#include "fluid.h"} {private local
decl {\#include "file.h"} {private local
}
+decl {\#include "../src/flstring.h"} {selected private local
+}
+
decl {\#include <FL/Fl_Tabs.H>} {private local
}
@@ -105,17 +108,17 @@ and load those into the Code Viewer widgets.} open return_type void
if (!sv_source_filename) {
sv_source_filename = (char*)malloc(FL_PATH_MAX);
fluid_prefs.getUserdataPath(sv_source_filename, FL_PATH_MAX);
- strlcat(sv_source_filename, "source_view_tmp.cxx", FL_PATH_MAX);
+ fl_strlcat(sv_source_filename, "source_view_tmp.cxx", FL_PATH_MAX);
}
if (!sv_header_filename) {
sv_header_filename = (char*)malloc(FL_PATH_MAX);
fluid_prefs.getUserdataPath(sv_header_filename, FL_PATH_MAX);
- strlcat(sv_header_filename, "source_view_tmp.h", FL_PATH_MAX);
+ fl_strlcat(sv_header_filename, "source_view_tmp.h", FL_PATH_MAX);
}
if (!sv_design_filename) {
sv_design_filename = (char*)malloc(FL_PATH_MAX);
fluid_prefs.getUserdataPath(sv_design_filename, FL_PATH_MAX);
- strlcat(sv_design_filename, "source_view_tmp.fl", FL_PATH_MAX);
+ fl_strlcat(sv_design_filename, "source_view_tmp.fl", FL_PATH_MAX);
}
if (sv_project->visible_r()) {