summaryrefslogtreecommitdiff
path: root/fluid/panels/codeview_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-07-02 12:45:00 +0200
committerMatthias Melcher <github@matthiasm.com>2025-07-02 12:45:00 +0200
commit5475f2dddd7a76e1ee939b99d1ab6f816f4a3271 (patch)
treeb88280c9f32a23e8c9411d50d9eee671d7fa1f60 /fluid/panels/codeview_panel.fl
parent66dde2646915ccf679658485e15ee33c3011087b (diff)
FLUID: Multiple fixes
- fixes new naming of i18n class - fixes use of deprecated setonly() - fixes false assumption that all children of a Window are Widgets
Diffstat (limited to 'fluid/panels/codeview_panel.fl')
-rw-r--r--fluid/panels/codeview_panel.fl7
1 files changed, 4 insertions, 3 deletions
diff --git a/fluid/panels/codeview_panel.fl b/fluid/panels/codeview_panel.fl
index 612639c0d..15aa8b818 100644
--- a/fluid/panels/codeview_panel.fl
+++ b/fluid/panels/codeview_panel.fl
@@ -20,7 +20,7 @@ comment {//
} {in_source in_header
}
-decl {\#include <stdlib.h> // malloc()} {selected private local
+decl {\#include <stdlib.h> // malloc()} {private local
}
decl {\#include "Fluid.h"} {private local
@@ -209,7 +209,7 @@ and load those into the Code Viewer widgets.} open return_type void
char fn[FL_PATH_MAX+1];
fl_strlcpy(fn, Fluid.get_tmpdir().c_str(), FL_PATH_MAX);
fl_strlcat(fn, "strings", FL_PATH_MAX);
- fl_filename_setext(fn, FL_PATH_MAX, exts[static_cast<int>(Fluid.proj.i18n.i18n_type)]);
+ fl_filename_setext(fn, FL_PATH_MAX, exts[static_cast<int>(Fluid.proj.i18n.type)]);
fld::io::write_strings(Fluid.proj, fn);
int top = cv_strings->top_line();
cv_strings->buffer()->loadfile(fn);
@@ -239,7 +239,8 @@ and load those into the Code Viewer widgets.} open return_type void
Fluid.proj.code_file_name = code_file_name_bak;
Fluid.proj.header_file_name = header_file_name_bak;
- }} {}
+ }} {selected
+ }
}
Function {update_codeview_timer(void*)} {