From 5475f2dddd7a76e1ee939b99d1ab6f816f4a3271 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 2 Jul 2025 12:45:00 +0200 Subject: 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 --- fluid/panels/codeview_panel.fl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fluid/panels/codeview_panel.fl') 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 // malloc()} {selected private local +decl {\#include // 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(Fluid.proj.i18n.i18n_type)]); + fl_filename_setext(fn, FL_PATH_MAX, exts[static_cast(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*)} { -- cgit v1.2.3